mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 00:14:00 +00:00
test(multiplayer): isolate agones lifecycle smoke
This commit is contained in:
@@ -3,6 +3,7 @@ import unittest
|
||||
|
||||
|
||||
BASE = Path(__file__).parents[2] / "deploy" / "k8s"
|
||||
ROOT = Path(__file__).parents[2]
|
||||
|
||||
|
||||
class FleetManifestTest(unittest.TestCase):
|
||||
@@ -89,6 +90,13 @@ class FleetManifestTest(unittest.TestCase):
|
||||
self.assertIn(field, network)
|
||||
self.assertIn("control-plane-service.yaml", base)
|
||||
|
||||
def test_kind_runner_is_explicitly_separate_from_production_roster_flow(self):
|
||||
runner = (ROOT / "scripts/verify_kind_agones.sh").read_text()
|
||||
self.assertIn("Agones lifecycle smoke", runner)
|
||||
self.assertIn("--control-plane-url=", runner)
|
||||
self.assertIn("--allocated-mode", runner)
|
||||
self.assertIn("dynamic UDP port", runner)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user