From cd18c48fc4ae7bbdcd540ec1e07f9b54f9c1da92 Mon Sep 17 00:00:00 2001 From: Case Wylie Date: Fri, 12 Jan 2024 08:47:43 -0500 Subject: [PATCH] chore: update waitForDeployments Signed-off-by: Case Wylie --- journey/pepr-deploy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/journey/pepr-deploy.ts b/journey/pepr-deploy.ts index db49d564..2fe5f848 100644 --- a/journey/pepr-deploy.ts +++ b/journey/pepr-deploy.ts @@ -24,8 +24,8 @@ export function peprDeploy() { it("should deploy the Pepr controller into the test cluster", async () => { execSync("npx pepr deploy -i pepr:dev --confirm", { cwd, stdio: "inherit" }); - // Wait for the deployment to be ready - await waitForDeploymentReady("pepr-system", "pepr-static-test"); + // Wait for the deployments to be ready + await Promise.all([waitForDeploymentReady("pepr-system", "pepr-static-test"),waitForDeploymentReady("pepr-system", "pepr-static-test-watcher")]); }); cleanupSamples();