Commit Graph
532 Commits
Author SHA1 Message Date
Dominion 76b214d40e Mock IChatProviders when testing without secrets 2023-05-23 02:59:02 -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 65a4d929b1 Informative comment 2023-05-21 02:14:53 -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
Jordan DominionandGitHub 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 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 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 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
Dominion 4ecdf8afe1 Move duplicate concrete IAbstractHttpClientFactorys to Common.HttpClientFactory 2023-04-23 13:57:57 -04:00
Dominion 43e1fec1b0 Move a bunch of non-core classes to new Utils namespace
- Clean up VS messages, primarily in SessionController.cs
2023-04-23 13:42:16 -04:00
Dominion 86f9d350f6 Clean up LogContext templating and properties
- Bring Serilog LogContext related items into new SerilogContextHelper class.
- ODR LogContext property names.
- InstanceController now inherits InstanceRequiredController and no longer holds an IInstanceManager reference.
- InstanceRequiredController.ValidateInstanceOnlineStatus() no longer static
- Subinterface IInstanceOperations created to reduce surface area InstanceController uses.
- Extracted much of InstanceRequiredController's functionality into new parent ComponentInterfacingController to not break swagger generation type checking (InstanceRequiredController adds the mandatory InstanceId header in the spec but InstanceController inherits ComponentInterfacingController without those checks).
- Added code paths to allow add swarm node identifer to LogContext. Use in Live tests.
- IInstanceManager retrieved via DI in Application for UseAsyncInitialization().
- Correct controller doc comments.
- Minor code cleanups.
2023-04-23 13:07:40 -04:00
Dominion d771da71b9 Add General:DeploymentDirectoryCopyTasksPerCore config option 2023-04-23 02:34:11 -04:00
Dominion b5618d9e29 - Fix test issues.
- Fix non-swarm mode updates.
- Add node ID logging context for live test.
2023-04-22 18:14:17 -04:00
Dominion 86e103b86b More integration test reorganization 2023-04-22 10:33:39 -04:00
Dominion 8ab819a414 Reorganize integration tests 2023-04-22 10:27:52 -04:00