test(multiplayer): harden agones allocation gate

This commit is contained in:
Josh Creek
2026-09-01 18:16:54 +01:00
parent e3fad7064b
commit 7c044b7094
7 changed files with 133 additions and 15 deletions
@@ -39,6 +39,11 @@ class ComposeManifestTest(unittest.TestCase):
self.assertIn("target: allocator", allocated)
self.assertIn("agones-provider", allocated)
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)
self.assertNotIn("p.get(\"port\", 0) > 0", runner)
if __name__ == "__main__":
unittest.main()