test(multiplayer): add chaos recovery smoke

This commit is contained in:
Josh Creek
2026-09-01 18:30:09 +01:00
parent 25236cc0a1
commit 71935e61b5
7 changed files with 146 additions and 2 deletions
@@ -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)