From b57232c70cdf64c9e4aa91bc28b26ac57265775f Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Wed, 27 Nov 2024 18:44:33 +0100 Subject: [PATCH] test: python stability fixes --- test/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers.js b/test/helpers.js index 180b8bfbb..34eba1b24 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -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"); }