Commit Graph
9876 Commits
Author SHA1 Message Date
Dominion 38753e4a94 Note about racyness of process file redirection 2023-04-22 23:17:20 -04:00
Dominion 6443ca8223 Workaround std stream race condition in tests 2023-04-22 23:17:07 -04:00
Dominion 55ced04a81 Rename the CI jobs slightly 2023-04-22 19:50:34 -04:00
Dominion 6199e0e12e Increase delay in stdout/err reading test 2023-04-22 19:42:44 -04:00
Dominion 77154c9d9b I think this is the key solution to the race condition we were missing 2023-04-22 19:31:19 -04:00
Dominion 1f7872d224 Race condition this, mf'er 2023-04-22 19:21:25 -04:00
Dominion 2195f4cbc7 Fix logging call 2023-04-22 19:14:51 -04:00
Dominion a7031dea85 Update API doc for 424 on POST /Administration 2023-04-22 19:12:50 -04:00
Dominion 5195e78baf Fixing more race conditions in swarm tests 2023-04-22 18:56:32 -04:00
Dominion cafb0e43cb Are you kidding me? I have to suppress IDE0079 now 2023-04-22 18:51:14 -04:00
Dominion fe478be8ae Cleanup this test again 2023-04-22 18:41:11 -04:00
Dominion 5f2b511e93 Fuck CA2000 2023-04-22 18:39:42 -04:00
Dominion 57baceff31 I was about to say "Fuck CA2000" but it was actually right this time 2023-04-22 18:33:22 -04:00
Dominion b3426ae758 Test at commit stage, not prepare stage 2023-04-22 18:32:31 -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 44d6e0c444 Workaround for invalid CA2000 warning 2023-04-22 17:40:13 -04:00
Dominion 80a3dbb13f Fix off by one error in swarm node counting 2023-04-22 17:30:11 -04:00
Dominion 930c0e6ab5 Workaround for timeout not working on CI runners 2023-04-22 17:25:53 -04:00
Dominion 7b01035607 Fix build warning 2023-04-22 17:24:32 -04:00
Dominion d0ac8f5000 Got rid of that useless swarm registration abstraction AND fixed race condition in SwarmRpcMapper calls 2023-04-22 17:16:34 -04:00
Dominion b301b7f840 Clean up a bunch of log template placeholder messages 2023-04-22 16:50:25 -04:00
Dominion 28b57a1ee4 Minor stype cleanup 2023-04-22 12:28:57 -04:00
Dominion 7663296099 Test std error and file reading 2023-04-22 12:19:20 -04:00
Dominion ec068333d4 More swarm protocol test logging 2023-04-22 11:40:11 -04:00
Dominion c1f68d9243 Added error code for swarm integrity check failures 2023-04-22 11:40:01 -04:00
Dominion e823ca7c4c DI setup cleanup 2023-04-22 11:04:24 -04:00
Dominion e72ebb95c5 Split the start/stop functionality of ISwarmService into its own interface 2023-04-22 10:59:39 -04:00
Dominion 783b58aaa3 Additional logging attempting to find cause of flaky tests 2023-04-22 10:51:43 -04:00
Dominion b797451e2b Add better error handling to SwarmRpcMapper 2023-04-22 10:39:34 -04:00
Dominion 86e103b86b More integration test reorganization 2023-04-22 10:33:39 -04:00
Dominion 5f27726e92 Increase swarm protocol test max delays 2023-04-22 10:28:30 -04:00
Dominion 4ca3c2eb08 I hate these newline semicolons 2023-04-22 10:28:09 -04:00
Dominion 8ab819a414 Reorganize integration tests 2023-04-22 10:27:52 -04:00
Dominion 3b8e3556d6 Add missing discard 2023-04-22 10:06:03 -04:00
Dominion 079ab20752 Swarm test framework cleanup 2023-04-22 10:05:53 -04:00
Dominion 02d5e31004 Add unit test for new class 2023-04-22 10:03:16 -04:00
Dominion b83f382f45 Tested swarm controller and fixed some edge cases
- No longer registers for restart unnecessarily
- Fixed infinite wait when committing update
- Fixed unregistering without a registration
- Abort updates if the controller health check fails
2023-04-22 01:02:22 -04:00
Dominion 3f91a09483 Stop being anal about SemaphoreSlimContext disposal 2023-04-22 00:52:24 -04:00
Dominion e30799d0f2 Code cleanups 2023-04-21 15:18:47 -04:00
Dominion 1c219ebadd Framework for testing Swarm protocol 2023-04-21 15:11:44 -04:00
Dominion 061ab479d2 Reorganize server update process to make commit less fail-prone 2023-04-21 10:11:24 -04:00
Dominion c52cbcef31 Add configuration option to set expected number of nodes in swarm 2023-04-21 10:11:18 -04:00
Dominion 0eb139fe3c Cleanup SwarmService logging templates 2023-04-21 09:01:52 -04:00
Dominion 0444eb90ab Minor cleanups 2023-04-21 03:15:56 -04:00
Dominion a1b5dbe6ac Abstract HttpClient and FileDownloader
- Set all requests to use assemblyInformationProvider UserAgent by default.
- Removed DefaultIOManager's dependency on IAssemblyInformationProvider.
- Fixed bad Dispose scope for requests under construction in SwarmService.
2023-04-21 03:15:39 -04:00
Dominion 6aa40ef547 Fix documentation file paths 2023-04-21 02:10:41 -04:00
Dominion c4f561a8df Add missing import 2023-04-21 02:09:08 -04:00
Dominion e8c89f4271 Set a timeout for TestOneServerSwarmUpdate 2023-04-21 01:50:25 -04:00
Dominion 2a9a271218 Server Update Process Cleanup
- Extract bulk of actions into ServerUpdater class, based on old ServerUpdateInitiator.
- Add new ServerUpdateIntiator for AdministrationController

These changes break some interdependencies between SwarmService and Server.

- Correct the meaning of IRestartHandler.HandleRestart's second argument.
- Eliminate usage of SetupApplication's static IAssemblyInformationProvider and IIOManager.
2023-04-21 01:49:23 -04:00
Dominion bdcc11673a Minor update to Host Watchdog and Program.cs in Host 2023-04-21 00:54:38 -04:00