Commit Graph

1420 Commits

Author SHA1 Message Date
Dominion a29331cb00 Test error log failure fixes 2023-05-27 11:33:16 -04:00
Dominion aca475dda2 Ignore more cancellations 2023-05-27 11:13:46 -04:00
Dominion c85f459333 Regex instead of StartsWith for better accuracy 2023-05-26 16:41:59 -04:00
Dominion d610c05efb Ignore query cancellation exceptions in hard fail logger 2023-05-26 16:39:59 -04:00
Dominion da11e3d313 Fix a typo 2023-05-26 15:44:40 -04:00
Dominion 8244c470fc Minor formatting change + comment 2023-05-26 14:53:21 -04:00
Dominion 397728738d Hard fail test logging doesn't parrot 2023-05-26 13:41:21 -04:00
Dominion f842c99e92 Test instance manager in parallel with instance 2023-05-26 13:00:34 -04:00
Dominion d3be54be15 Several fixes for the dummy chat provider 2023-05-26 12:59:06 -04:00
Dominion 6fc3584b30 Fix a bad assert 2023-05-23 23:01:31 -04:00
Dominion e12697fcc9 Error Live test if an unallowed error is logged 2023-05-23 22:42:12 -04:00
Dominion 8cfba1d79d Set General:ConfigVersion in LiveTestingServer 2023-05-23 22:02:11 -04:00
tgstation-server 580259e6f9 Merge branch 'master' into dev 2023-05-24 00:58:02 +00:00
Dominion 86f20a0a3c Address race condition between enabling chat bots and their reconnect jobs appearing in Live test 2023-05-23 19:51:24 -04:00
Dominion fc3ce4caf7 Fix errors when using real chat connection strings 2023-05-23 19:44:09 -04:00
Dominion 6ac18508da Assert valid connection strings in chat tests 2023-05-23 17:54:06 -04:00
Dominion 76b214d40e Mock IChatProviders when testing without secrets 2023-05-23 02:59:02 -04:00
Dominion c9403b79f3 DiscordProvider Constructor test doesn't need a valid token 2023-05-22 19:53:38 -04:00
Dominion 50873dc616 Connect/Disconnect test for IRC 2023-05-22 19:53:12 -04:00
Dominion 9f1d169ff6 Chat test connections are now required to succeed 2023-05-22 19:38:00 -04:00
Dominion 1021c04d4b Don't be cheeky with this .dme name
It hinders full text searches
2023-05-22 19:11:25 -04:00
Dominion 49c6f37693 Add test helpers to test .dmes
- Make long_running_test_copy.dme just include the original
2023-05-22 19:11:06 -04:00
Dominion 65a4d929b1 Informative comment 2023-05-21 02:14:53 -04:00
Dominion 42a7dab56a ChatChannelInfo will now try to delay until the reattach updates it 2023-05-21 01:51:48 -04:00
Dominion 95443b42aa Add a test assert 2023-05-20 19:43:54 -04:00
Dominion 1214cfbbfd Regression tests for #1490 2023-05-20 19:30:18 -04:00
Dominion ddc7130887 Fix a lint 2023-05-20 19:23:32 -04:00
Dominion af9b5f7eb3 Add IsSystemChannel flag to ChatChannels 2023-05-20 18:28:33 -04:00
Dominion 9410795046 Nuget updates + project file cleanups 2023-05-20 16:25:40 -04:00
Dominion 5112ea6037 Clean up a file header I guess 2023-05-20 16:25:00 -04:00
Jordan Dominion c09b854315 Merge branch 'master' into MrStonedOne-patch-1 2023-05-20 12:55:49 -04:00
Dominion 39692bec2c Actually enable node request logging in swarm mode 2023-05-17 23:10:38 -04:00
Dominion e4debac5bc Switch tests from updating to 4.8.1 to 5.11.0 2023-05-17 22:08:02 -04:00
Dominion d86b4c8e33 Use the GitHubAccessToken when downloading the ServerUpdatePackage
Workaround for https://github.com/actions/runner-images/issues/7007
2023-05-17 20:10:29 -04:00
Dominion 47c44b1a58 Add regression test for chat bot connection string viewing 2023-05-17 19:06:21 -04:00
Dominion d8aa40011b Create a new connection for each test attempt 2023-05-14 21:53:09 -04:00
Dominion ff42a1f5b8 Remove unused usings 2023-04-30 10:59:37 -04:00
Dominion 44da043e94 Ensure database is available before starting live tests 2023-04-30 10:44:15 -04:00
Dominion d91139caff Improvements to GitHubClientFactory
- Add caching, and logging (useful for rate limit prediction).
2023-04-30 09:32:27 -04:00
Dominion 0ef83b872b Improve logging for swarm update test 2023-04-29 22:59:46 -04:00
Dominion ec2e4be6e3 Merge branch 'dev' of https://github.com/tgstation/tgstation-server into 1458-AddMapThreadsParam 2023-04-29 18:04:33 -04:00
Dominion 4793012413 Test resistance to rate limit issues
- Unsealed ApiClient to allow tests to override with rate limit aware client that waits for rate limits to clear.
- Allowed injecting into ServerClientFactory's static ApiClientFactory.
- Use Octokit provided function for calculating retry delays.
- Fixed a rogue newline semicolon.
- Moved downgrade migrations test out of live tests.
- Admin tests now check for V5 releases.
- Fixed not disposing a StringContent in ApiClient.
- Bump client patch version.
- Added missing .ConfigureAwait(false) to async ApiClient call.
2023-04-29 15:14:22 -04:00
Dominion a7a8c92f75 Add additional testing for BYOND features like dd.exe and -map-threads. 2023-04-28 23:11:43 -04:00
Dominion e1f471beb6 Add -map-threads parameter support 2023-04-28 21:24:01 -04:00
Dominion 3768da7bea Fixed rare race condition in swarm protocol tests 2023-04-28 12:37:43 -04:00
Dominion 16673034f7 Fix WaitForJobProgress never taking the early out 2023-04-25 08:00:16 -04:00
Dominion 99c4537aa9 Implement BYOND installation deletion
- Add ErrorCode for if a BYOND installation delete attempt is made for the active version.
- Added ByondVersionDeleteRequest new parent of ByondVersionRequest.
- Added ByondRights.DeleteInstall.
- Added BYOND install delete support to client
- Made ByondExecutableLock use the reference counting system.
- Moved TrustDmbPath to ByondManager internals. Removes ByondExecutableLock's dependency on IIOManager.
- Ensured ByondManager doesn't deal in Versions where .Build == 0.
- Fixed race condition where ByondController could attempt to install a version in the scope of a request.
- Fixed long running DMAPI test code specifying a minimum security level of Ultrasafe when it writes files.
- Added JobsRequiredTest.WaitForJobProgress.
- Added BYOND installation deletion integration tests.
- Fixed modifying the user BYOND configuration having a race condition across instances.
- Various code cleanups.
2023-04-24 20:15:10 -04:00
Dominion 501ea583d0 Remove unused using 2023-04-24 20:04:17 -04:00
Dominion bff92e8a1f Fix race condition in repository test 2023-04-24 18:37:01 -04:00
Dominion d31145f87b Remove extraneous neline 2023-04-24 18:33:26 -04:00