From c1f85c67ba0507a1f17e912f62ebb3758e37706e Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Mon, 27 Jul 2026 16:44:43 +0200 Subject: [PATCH] test(api): remove race from challenge test (#69079) --- api/src/routes/protected/challenge.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/routes/protected/challenge.test.ts b/api/src/routes/protected/challenge.test.ts index 8a06dbf4fce..558a9d3dc54 100644 --- a/api/src/routes/protected/challenge.test.ts +++ b/api/src/routes/protected/challenge.test.ts @@ -1568,9 +1568,8 @@ describe('challengeRoutes', () => { 'aaa174fcf86c76b9248c6eb1', 'aaa174fcf86c76b9248c6eb2', 'aaa174fcf86c76b9248c6eb3', - 'aaa174fcf86c76b9248c6eb4', 'aaa174fcf86c76b9248c6eb4' - ]; + ]; // these must be unique since it's possible for duplicate requests to update challenges or push new ones depending on timing. const responses = await Promise.all( challengeIds.map(id =>