Commit Graph

108 Commits

Author SHA1 Message Date
John Donaldson 00cc3dc4ef Fix pointlog tests 2022-10-28 14:42:03 -07:00
John Donaldson 44a79c4b6e Lots of smaller tests to improve coverage 2022-10-28 14:38:57 -07:00
John Donaldson 6187ab4968 Adding more state filesystem checks 2022-10-28 13:22:23 -07:00
John Donaldson bfacbfeb11 Fixing scope of test variables 2022-10-28 12:46:47 -07:00
John Donaldson 63d066c195 Add some team ID checks for better coverage 2022-10-28 12:44:18 -07:00
John Donaldson e5b6bf487a Fix file deletion strategy 2022-10-21 15:12:47 -07:00
John Donaldson b01a500189 Add test for deleted teamids.txt 2022-10-21 15:08:28 -07:00
John Donaldson 9783f99a39 Add test for team name state 2022-10-21 14:41:59 -07:00
John Donaldson 2370fc6f23 Add tests for team IDs 2022-05-18 10:19:53 -07:00
John Donaldson ddcb2b993a Add tests for SetPoints 2022-05-18 08:19:21 -07:00
John Donaldson bb92c82dd6 Fixed an issue with point removal 2022-05-18 07:44:01 -07:00
John Donaldson a81e3aa62f Fixing some more test issues 2022-05-17 15:08:21 -07:00
John Donaldson 75733415c3 Adding tests for points and message public operations 2022-05-17 14:58:45 -07:00
John Donaldson 368e7306c3 Fixing issue with TestIssue156 due to change in registration behavior 2022-05-17 14:08:40 -07:00
John Donaldson 72d5a79798 Fixing some race condition issues 2022-05-17 13:30:33 -07:00
John Donaldson 9a8ec19908 Fixing some locking issues 2022-05-17 13:14:09 -07:00
John Donaldson 9793de315a Merge branch '186-implement-admin-api-for-mothd' of https://git.cyberfire.ninja/devs/moth into add_admin_state_mechanisms 2022-05-17 12:41:25 -07:00
Neale Pickett eb08700dd1 Merge branch 'main' of https://git.cyberfire.ninja/devs/moth 2022-05-12 18:03:28 -06:00
Neale Pickett a85df22479 Upgrades, NFS optimization 2022-05-12 18:03:26 -06:00
Neale Pickett cbe231ef12 Remove more debugging 2022-05-10 20:05:16 -06:00
Neale Pickett 243fdfd006 Remove some debugging 2022-05-10 19:57:07 -06:00
Neale Pickett bde4b2c86d A bit cleaner test interface, maybe 2022-05-10 19:48:51 -06:00
Neale Pickett 85f5b96a40 Stop running goroutines in unit tests 2022-05-10 19:36:36 -06:00
Neale Pickett dfc31eb9f3 Merge branch 'main' into 179-intermittent-test-failures-on-gitlab-ci 2022-05-10 19:21:25 -06:00
Neale Pickett be74961e94 still trying to fix race condition 2022-05-10 19:11:47 -06:00
Neale Pickett d014384b05 A possible fix for #179 2022-05-10 17:59:08 -06:00
Neale Pickett 5b6555cd9a Check team existence before registering.
Fixes #156
2022-05-10 17:47:26 -06:00
Neale Pickett eea674b1a4 Remove `events.csv` on init.
Fixes #177
2022-05-10 13:30:44 -06:00
Donaldson b4b867bed8 Adding everything needed to implement admin API, still needs testing,
though
2021-12-30 17:00:14 -08:00
Donaldson 7fc2eec35f * Add message write handler
* Add stub documentation for new required functions
2021-12-30 12:17:17 -08:00
Donaldson ff07ef3b60 Make legacy, fs-backed state more obvious 2021-12-30 11:38:09 -08:00
Neale Pickett 471ded7303 Cache state 2021-10-26 12:48:23 -06:00
Neale Pickett 4bb6819319 Fix to reopening all mothballs every 2s
#180
2021-10-25 13:37:56 -06:00
Neale Pickett e349a18861 Trying to isolate a race condition in tests 2021-10-20 11:29:55 -06:00
Neale Pickett 5adf32f456 CI/CD 2021-10-18 18:30:11 -06:00
Neale Pickett d9299f5e59 Fix test failure 2021-10-14 19:17:38 -06:00
Neale Pickett 41a0e6dffc Prepend timestamp to award filenames
Fixes #168
2021-10-14 19:01:12 -06:00
Neale Pickett 454e643886 Fix broken build? 2021-10-14 15:57:17 -06:00
Neale Pickett 46fea903a6 Remove debug log message 2021-10-13 18:35:33 -06:00
Neale Pickett f68201ab53 Check for new mothballs with the same name
Also updated some error messages to pass newer linter.

Fixes #172
2021-10-13 18:25:27 -06:00
Neale Pickett dd8ca81186 Test case for #144 2021-10-13 22:43:51 +00:00
Neale Pickett ff99f131ea fix test 2021-03-05 14:42:57 -07:00
Neale Pickett 2f49e853e4 remove a debugging log message 2021-03-02 11:25:20 -07:00
Neale Pickett 45fbd34be0 Devel mode now lets you register a team with any ID 2021-02-01 16:53:38 -07:00
Neale Pickett 7b485ababf Nicer format for devel server team names 2020-12-02 19:49:06 -07:00
Neale Pickett d4b37d1efa Devel server: allow any team ID to score ponts. 2020-12-02 19:31:34 -07:00
Neale Pickett 788ce7c3b6 events log -> csv, say we're in devel mode 2020-12-02 17:57:10 -07:00
John Donaldson f4cfb10d97 Rename event.log as events.log 2020-11-19 16:26:53 -05:00
Neale Pickett f558099852 Log registration events, try to fix devel image 2020-10-28 14:16:13 -06:00
Neale Pickett bb2565b06d JSON dicts for back-end API 2020-10-16 14:18:44 -06:00