Commit Graph
77 Commits
Author SHA1 Message Date
Jordan Brown 02d2ee723a Give a longer timeout to reattach jobs in integration test 2020-08-05 00:36:59 -04:00
Jordan Brown 722567ded8 Fix auto updates not clearing merged PRs 2020-07-27 22:23:58 -04:00
Jordan Brown 6399c4cbf1 Process output streaming fixes 2020-07-27 13:12:58 -04:00
Jordan Brown b158bfbd1e More CI cleanups 2020-07-25 12:59:47 -04:00
Jordan Brown abd5e016ec More test fixes 2020-07-21 19:35:18 -04:00
Jordan Brown 7c0030180c Chungus refactors
- Added a new ErrorCode for when chat bots fail to connect
- Made IProvider IAsyncDispsable
- Removed IDatabaseContextFactory dependency from watchdogs
- Jobs will no longer start until instance manager startup is complete
- Chat provider connection is now done as a job, there is no way to retrieve directly this job through the API currently
- Fixed disabled chat bots connecting when their instance onlined
- Fixed issue with chat provider reconnection channel remapping
- IJobManager can now accept a null user in most cases which it will substitute for the TGS user
- Fixed some watchdog issues relating to accessing disposed session controllers
2020-07-19 17:54:27 -04:00
Jordan Brown e4255b0a7e Fix test suite 2020-07-18 10:29:36 -04:00
Jordan Brown 561f9216ba Add down migration tests 2020-07-14 13:29:04 -04:00
Jordan Brown fece7567fb Disallow address reuse for port bind tests 2020-07-14 10:26:24 -04:00
Jordan Brown f923d0c87d Component instance usage cleanup
- GetInstance now returns null instead of throwing when the instance is offline. To be honest, we should wrap this in a using.
- Add safe accessor class for controllers that also performs request validation.
- API bump to 7.1.0
- Added ErrorCode 90 for offline instances, replacing the 403 response
- Move jobs now move the directory and are more fail safe
- Creating instances no longer uppercases the path on disk on Windows
2020-07-12 13:53:28 -04:00
Jordan Brown ba0f63ef9c Minor code formatting change 2020-07-11 10:58:23 -04:00
Jordan Brown ec48e20bed Regression test for #1065 2020-07-11 09:53:32 -04:00
Jordan Brown a24bb50190 More integration test sanity 2020-07-09 13:20:22 -04:00
Jordan Brown d6bf75b439 Lots of test improvements
- More deployment tests
- More job error code asserts
2020-07-09 11:24:15 -04:00
Jordan Brown ea7235b198 Oh that's why 2020-07-06 03:16:01 -04:00
Jordan Brown 5c348958d1 THAT IS A VERY STRANGE ASSERT TO FAIL 2020-07-06 03:12:33 -04:00
Jordan Brown a5c498e0f7 Various things
- Remove lagacy user/pass header auth
- Use .WithToken on octokit calls
- Cleaned up ApiHeader validation failures and responses
- ApiController constructor parameter requireHeaders now defaults to true
- Added integration test for a bunch of 4XX errors
2020-07-05 11:07:33 -04:00
Jordan Brown 68f080d976 Remove the ExperimentalWatchdog
- Remove config and classes
- Remove launch parameters SecondaryPort. Rename PrimaryPort to Port
- Deprecate ErrorCode 40
- Rename SetPorts right to SetPort
- Remove DualReattachInformation and code surrounding it changed to work with a single ReattachInformation.
- Extra reattach informations will be killed by the ReattachInfoHandler on instance onlining
- Deployment no longer duplicates game folders
- Cleaned up watchdog/monitor dead code
- DmbFactory will check if A/B dirs exist and remap IDmbProvider appropriately
- Migrate everything
- Adjusted integration tests to use 4.3.0 for downgrade test
- Integration test checks setting port to 0 throws a 400
2020-06-29 17:53:59 -04:00
Jordan Brown a68d6cc489 Fix a typo 2020-06-26 16:39:50 -04:00
Jordan Brown 4d2c70fe33 Refactor watchdog running into status enum 2020-06-24 17:31:22 -04:00
Jordan Brown 3220d2aeec Fix Postgres Update test again 2020-05-29 12:47:57 -04:00
Jordan Brown 179cd39468 Assert Inconclusive on update test 2020-05-29 10:31:42 -04:00
Jordan Brown 2701305a85 Hmmmm 2020-05-28 14:05:45 -04:00
Jordan Brown 5d00e23a97 Add auto refresh functionality to IServerClient 2020-05-24 17:57:28 -04:00
Jordan Brown 823dab7b85 Port client/api libraries to .netstandard 2.1
- Enable nullable references
- Client v7, API v6.4.1
2020-05-24 16:42:31 -04:00
Jordan Brown 76a73c7922 Oops 2020-05-22 14:19:38 -04:00
Jordan Brown 24d6b648ef Improve integration test timeouts 2020-05-22 13:39:25 -04:00
Jordan Brown f466957007 Slightly shorter timespan as we need to not hit the Travis timeout 2020-05-22 11:38:37 -04:00
Jordan Brown f174dfa63a Cap integration tests to 10 minutes so we can better diagnose why Travis hangs 2020-05-22 11:26:11 -04:00
Jordan Brown 5ec4945125 IProcessSuspender -> IProcessFeatures
- Add support for getting the username of the executor.
2020-05-15 14:34:23 -04:00
Jordan Brown f993f52a85 Remove unused using 2020-05-14 20:15:38 -04:00
Jordan Brown 3f86492590 More testing 2020-05-14 18:02:00 -04:00
Jordan Brown 7274e0c01d Add a warning about the BYOND pager 2020-05-14 13:46:47 -04:00
Jordan Brown e96296448b This test can now run on sqlite 2020-05-14 12:30:31 -04:00
Jordan Brown 4c884c2160 Add shell script tests 2020-05-14 12:19:57 -04:00
Jordan BrownandGitHub 74a5eaceaa Merge branch 'dev' into 622-MyHeatBeatsForYou 2020-05-13 15:16:33 -04:00
Jordan Brown 9c157825af I forgot reattaching was a job too 2020-05-13 14:05:34 -04:00
Jordan Brown 2f66248c59 Remove spurious discord test 2020-05-13 13:36:24 -04:00
Jordan Brown 69a958e9b0 Again, prevent requests from processing until the instance manager is ready. 2020-05-13 12:32:52 -04:00
Jordan Brown e9afdfc6be This test is dumb 2020-05-12 19:56:38 -04:00
Jordan Brown f403a7529d Fix tests 2020-05-12 19:28:22 -04:00
Jordan Brown 50a0838aec Terminate DreamDaemon before and after the tests 2020-05-12 18:29:22 -04:00
Jordan Brown f42295ee8e Various fixes 2020-05-12 18:00:29 -04:00
Jordan Brown 098c45458b Merge remote-tracking branch 'origin/dev' into 622-MyHeatBeatsForYou 2020-05-12 14:39:57 -04:00
Jordan Brown 794cf3ef38 Add integration test for server reboots 2020-05-12 13:24:26 -04:00
Jordan Brown 20dc731b48 Use 4.1.4 for update tests 2020-05-11 11:53:08 -04:00
Jordan Brown f64e0c8d53 User fixes [TGSDeploy] 2020-05-08 05:45:07 -04:00
Jordan Brown 7de1c45aa8 Update integration tests with regressions 2020-05-08 03:25:33 -04:00
Jordan Brown 0c89b99418 Re-enable update test 2020-05-08 03:18:06 -04:00
Jordan Brown ca832444ad Add recommended C#8 features 2020-05-05 16:30:34 -04:00