mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-12 00:43:53 +00:00
fix(multiplayer): report allocator readiness
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user