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 f3a4636 commit bea31c4
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 @@ -554,7 +554,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 bea31c4

Please sign in to comment.