diff options
author | Pawel Kupinski <pawel.kupinski@sonarsource.com> | 2024-09-11 15:33:09 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-09-11 20:03:48 +0000 |
commit | 4a901440b63ac6e2efd600d80b786eff8eead2ac (patch) | |
tree | 9377c0076245a0b09783e85773231bec9e0191eb | |
parent | 695c1260eb8442d021865258de4c50b58abd9273 (diff) | |
download | sonarqube-4a901440b63ac6e2efd600d80b786eff8eead2ac.tar.gz sonarqube-4a901440b63ac6e2efd600d80b786eff8eead2ac.zip |
SGB-78 Fix flaky Bitbucket Cloud IT
-rw-r--r-- | server/sonar-web/src/main/js/api/mocks/AlmIntegrationsServiceMock.ts | 6 |
1 files changed, 1 insertions, 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 { |