Skip to content

Commit

Permalink
fix(github-actions): health check on local e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed May 17, 2024
1 parent 569d4e9 commit 1fe1610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/e2e-local/e2e-local.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function waitForServer(url: string) {
const message = error instanceof Error ? error.message : error;
console.error(`Server not ready: ${url} (Message: ${message})`);
}
}, 1000);
}, 5000);
});
}

Expand Down Expand Up @@ -69,7 +69,7 @@ describe('e2e-local', () => {
process.exit(1);
});
// Wait for the server to be ready
await waitForServer(new URL(HEALTH_PATH, LOCAL_URL).toString());
await waitForServer(LOCAL_URL);
});

afterAll(async () => {
Expand Down

0 comments on commit 1fe1610

Please sign in to comment.