Skip to content

Commit

Permalink
test: python stability fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Nov 27, 2024
1 parent d80a1c9 commit b57232c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ export async function getLatestURLWithToken() {
const response = await fetch(`${TEST_APPLICATION_SERVER_BASE_URL}/token`);
const respBody = await response.json();
latestURLWithToken = respBody.latestURLWithToken;
if (latestURLWithToken === undefined) {
if (latestURLWithToken === undefined || latestURLWithToken === "") {
if (Date.now() - start > 10000) {
throw new Error("Timeout waiting for latestURLWithToken");
}
Expand Down

0 comments on commit b57232c

Please sign in to comment.