From 4a901440b63ac6e2efd600d80b786eff8eead2ac Mon Sep 17 00:00:00 2001 From: Pawel Kupinski Date: Wed, 11 Sep 2024 15:33:09 +0200 Subject: [PATCH] SGB-78 Fix flaky Bitbucket Cloud IT --- .../src/main/js/api/mocks/AlmIntegrationsServiceMock.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/sonar-web/src/main/js/api/mocks/AlmIntegrationsServiceMock.ts b/server/sonar-web/src/main/js/api/mocks/AlmIntegrationsServiceMock.ts index 518a5cb3e31..540e0ebfbf6 100644 --- a/server/sonar-web/src/main/js/api/mocks/AlmIntegrationsServiceMock.ts +++ b/server/sonar-web/src/main/js/api/mocks/AlmIntegrationsServiceMock.ts @@ -65,12 +65,8 @@ import { setupGitlabProjectCreation, } from '../alm-integrations'; -let uniqueNumber = 0; - function createUniqueNumber() { - uniqueNumber += 1; - - return uniqueNumber; + return Math.floor(Date.now() * Math.random()); } export default class AlmIntegrationsServiceMock { -- 2.39.5