mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 00:14:00 +00:00
test(multiplayer): add chaos recovery smoke
This commit is contained in:
@@ -39,6 +39,14 @@ class ComposeManifestTest(unittest.TestCase):
|
||||
self.assertIn("target: allocator", allocated)
|
||||
self.assertIn("agones-provider", allocated)
|
||||
|
||||
def test_chaos_fixture_has_real_maintenance_and_restart_boundary(self):
|
||||
chaos = (ROOT / "compose.chaos-smoke.yml").read_text()
|
||||
runner = (ROOT / "scripts/verify_chaos_recovery.sh").read_text()
|
||||
self.assertIn("target: maintenance", chaos)
|
||||
self.assertIn("restart control-plane", runner)
|
||||
self.assertIn("stalled-allocation:", runner)
|
||||
self.assertIn("down --volumes --remove-orphans", runner)
|
||||
|
||||
def test_kind_runner_uses_strict_allocation_response_validation(self):
|
||||
runner = (ROOT / "scripts/verify_kind_agones.sh").read_text()
|
||||
self.assertIn("verify_agones_allocation_response.py", runner)
|
||||
|
||||
Reference in New Issue
Block a user