added backoff if NotFound on getPodPhase

This commit is contained in:
Nikola Jokic
2022-10-04 15:14:48 +02:00
parent 79262ba5fb
commit 66566368e0
2 changed files with 9 additions and 3 deletions

View File

@@ -231,7 +231,7 @@ export class TestHelper {
await waitForPodPhases(
`${registryName}-0`,
new Set([PodPhase.RUNNING]),
new Set([PodPhase.PENDING, PodPhase.UNKNOWN])
new Set([PodPhase.PENDING])
)
await k8sApi.createNamespacedService(namespace, svc)
return {