Commit Graph

1420 Commits

Author SHA1 Message Date
Jordan Brown 812e27574d Is this the issue? 2020-05-25 20:36:12 -04:00
Jordan Brown 1652ed80eb Fix tests 2020-05-25 17:09:30 -04:00
Jordan Brown c86ed1eb5e Fix integration test 2020-05-25 15:57:45 -04:00
Jordan Brown 06d5515ebd Re-enable the disabled watchdog tests 2020-05-25 12:27:25 -04:00
Jordan Brown 12c92a79f4 Fix tests 2020-05-24 23:57:12 -04:00
Jordan Brown 3ad18b2b07 Merge branch 'dev' into 979-Postgres 2020-05-24 19:17:51 -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 ce1a630e45 Merge branch 'dev' into 979-Postgres 2020-05-16 12:01:55 -04:00
Jordan Brown d2ab2a885f Implement PostgresSQL database context
- Add DatabaseType
- Add DatabaseContext
- Add SetupWizardry
- Add DesignTimeDbContextFactory
- Add migration
- Add integration test to travis as separate job (split out others too)
- Other minor code cleanups
2020-05-16 07:41:13 -04:00
Jordan Brown fea6deb33c Whatever 2020-05-15 23:14:12 -04:00
Jordan Brown 314b32256c Better assert failure message 2020-05-15 21:48:11 -04:00
Jordan Brown 448c658ed6 Fix this 2020-05-15 15:27:48 -04:00
Jordan Brown 79b25eca13 Add tests 2020-05-15 14:40:06 -04:00
Jordan Brown 779ca33ea4 Fix the build 2020-05-15 14:35:16 -04:00
Jordan Brown b228dac537 Change testing server default port 2020-05-15 14:34:44 -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 c88c4bbc3b Fix test assert 2020-05-14 23:21:43 -04:00
Jordan Brown 7f09ffe2d4 Change BYOND version used under test 2020-05-14 23:08:54 -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 672c35ba72 Add successful heartbeat tests. + Tests topic calls 2020-05-14 17:18:39 -04:00
Jordan Brown e53404ea04 Add better test topic logging 2020-05-14 15:58:54 -04:00
Jordan Brown b8f04d81ce Build time optimization 2020-05-14 15:40:37 -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 Brown 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 1f3a478525 TestingServer improvements
Avoid taking DropDatabase override from development json.
Use a consistent temporary directory, minimize disk usage
2020-05-13 12:34:32 -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 c7ab6d49a7 Add more DMAPI events 2020-05-12 21:44:19 -04:00
Jordan Brown e511ca37e7 Split up the Watchdog namespace into Session 2020-05-12 20:09:34 -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 9a8a70e383 Merge remote-tracking branch 'origin/dev' into 622-MyHeatBeatsForYou 2020-05-12 18:00:31 -04:00
Jordan Brown f42295ee8e Various fixes 2020-05-12 18:00:29 -04:00
tgstation-server da9e15607d Merge branch 'master' into dev 2020-05-12 19:46:54 +00:00
Jordan Brown d5096f4386 Remove failing asserts (why? IDK) [TGSDeploy] 2020-05-12 15:46:13 -04:00
Jordan Brown 098c45458b Merge remote-tracking branch 'origin/dev' into 622-MyHeatBeatsForYou 2020-05-12 14:39:57 -04:00
Jordan Brown 545f48ae78 Test soft error in integration test 2020-05-12 14:37:14 -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 d3132eb528 Implement watchdog heartbeats
- Refactor MonitorLifetimes so the code isn't duplicated in the Basic and Experimental watchdogs
- Add IsAdminChannel to ChannelMapping
- Allow watchdog messages to be potentially restricted to admin chats
- Add topic command type for heartbeats
- Change ISessionController.SendCommand return type to also give the Byond.TopicSender response
- Added OnPrime event to ISessionController, this is now used for inactive server startup
- Added TaskExtension for creating infinite tasks.
- Fixed watchdog shutdown crash.

WIP
2020-05-11 03:21:52 -04:00