mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 08:23:45 +00:00
test(multiplayer): exercise compose supervisor drain
This commit is contained in:
@@ -10,6 +10,9 @@ class ComposeManifestTest(unittest.TestCase):
|
||||
allocated = (ROOT / "compose.allocated-smoke.yml").read_text()
|
||||
legacy = (ROOT / "compose.phase6-smoke.yml").read_text()
|
||||
self.assertIn("target: testkit-api", allocated)
|
||||
self.assertIn("target: game-server", allocated)
|
||||
self.assertIn("--drain-url=http://127.0.0.1:7780/drain", allocated)
|
||||
self.assertIn("--allocated-mode", allocated)
|
||||
self.assertIn('"18080:8080"', allocated)
|
||||
self.assertNotIn("compose.phase6-smoke.yml", allocated)
|
||||
self.assertNotIn("18080:8080", legacy)
|
||||
|
||||
Reference in New Issue
Block a user