From bea31c4bfc99f72ac400a841f7aa9eabf3a8c190 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 b2734c21e..3cb5b6180 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -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"); }