Skip to content

Commit 2b7d4d1

Browse files
nate-scribano-ibmpadamstx
authored andcommitted
test: Fixed user id conflict bug in parallel tests
1 parent 5c2c6a4 commit 2b7d4d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/test_iam_access_groups_v2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import os
2424
import os.path
2525
import datetime
26+
import random
2627
from ibm_cloud_sdk_core.authenticators import NoAuthAuthenticator
2728
from ibm_cloud_sdk_core import *
2829
from ibm_platform_services.iam_access_groups_v2 import *
@@ -57,7 +58,7 @@ def setUpClass(cls):
5758
cls.testGroupDescription = "This group is used for integration test purposes. It can be deleted at any time."
5859
cls.testGroupETag = ""
5960
cls.testGroupId = ""
60-
cls.testUserId = "IBMid-1234"
61+
cls.testUserId = "IBMid-" + str(random.randint(0, 99999))
6162
cls.testUserType = "user"
6263
cls.testClaimRuleId = ""
6364
cls.testClaimRuleETag = ""

0 commit comments

Comments
 (0)