Commit Graph

138 Commits

Author SHA1 Message Date
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 6f1f889be7 Attempt to reproduce #154 2021-10-20 13:10:24 -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 12becfaa09 Remove more debug logging 2021-03-29 12:27:07 -06:00
Neale Pickett 17a8b7f9cb Make `transpile inventory` work the way I expected 2021-03-26 18:20:49 -06:00
Neale Pickett 7595f36100 Make transpile usage mirror mkpuzzle usage 2021-03-25 20:40:07 -06: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 a186d95dbc haha, provide stdin to transpile 2021-02-25 16:26:11 -07:00
Neale Pickett 01a6db057e transpile is fine, actually 2021-02-25 16:03:41 -07:00
Neale Pickett 8265f5327e transpile is now mtranspile 2021-02-25 15:56:46 -07:00
Neale Pickett e2eb6646e7 Add markdown command to transpiler 2021-02-25 15:56:23 -07:00