fix(multiplayer): report allocator readiness

This commit is contained in:
Josh Creek
2026-09-02 19:11:01 +01:00
parent 6ebd6e59c1
commit cbefa86c5c
6 changed files with 140 additions and 6 deletions
+2 -1
View File
@@ -39,6 +39,7 @@ class KubernetesPolicyTest(unittest.TestCase):
"--metrics-addr=:9091", "containerPort: 9091",
"key: dsn", "key: secret", "automountServiceAccountToken: true",
"--agones-url=https://kubernetes.default.svc", "--provider-timeout=10s",
"--readiness-max-stale=30s",
):
self.assertIn(required, deployment)
self.assertNotRegex(deployment, r"(?im)^\s*(password|token|private.?key):\s*[^\n]+$")
@@ -72,7 +73,7 @@ class KubernetesPolicyTest(unittest.TestCase):
"type: RollingUpdate", "maxUnavailable: 0", "maxSurge: 1",
"terminationGracePeriodSeconds: 10",
"readinessProbe:", "livenessProbe:",
"path: /metrics", "port: metrics",
"path: /readyz", "path: /healthz", "port: metrics",
):
self.assertIn(required, deployment)