mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 00:14:00 +00:00
test(multiplayer): drive compose proposal orchestration
This commit is contained in:
@@ -20,6 +20,7 @@ class ComposeManifestTest(unittest.TestCase):
|
||||
|
||||
def test_allocated_runner_checks_durable_retry_and_shutdown(self):
|
||||
runner = (ROOT / "scripts/verify_allocated_compose.sh").read_text()
|
||||
allocated = (ROOT / "compose.allocated-smoke.yml").read_text()
|
||||
for marker in (
|
||||
"/v1/servers/compose-server/result",
|
||||
"compose-result-key-123456",
|
||||
@@ -29,9 +30,12 @@ class ComposeManifestTest(unittest.TestCase):
|
||||
"/v1/session/steam",
|
||||
"compose-queue-key-123456",
|
||||
"/v1/queue/compose-queue-ticket/heartbeat",
|
||||
"/v1/proposals/$proposal_id/accept",
|
||||
"compose-match-ticket-",
|
||||
"down --volumes --remove-orphans",
|
||||
):
|
||||
self.assertIn(marker, runner)
|
||||
self.assertIn("target: matcher", allocated)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user