Skip to content

Commit b3ce074

Browse files
committed
fix linter and python tests
1 parent 1ff0cc3 commit b3ce074

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docker/mongodb-kubernetes-tests/kubetester/mongotester.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,7 @@ def assert_scram_sha_authentication(
258258
if i == 0:
259259
fail(f"unable to authenticate after {attempts} attempts with error: {e}")
260260

261-
# Use adaptive retry delays for better password propagation handling
262-
remaining_attempts = i
263-
if remaining_attempts >= attempts * 0.7: # First ~30% of attempts
264-
delay = 10 # Longer delay for initial propagation
265-
else:
266-
delay = 5 # Standard delay for normal retries
267-
268-
time.sleep(delay)
261+
time.sleep(5)
269262

270263
def assert_scram_sha_authentication_fails(
271264
self,

0 commit comments

Comments
 (0)