Stop printing in random_sleep

random_sleep is used in mistral unit testing code.
we don't need to print anything, not useful and polluting logs.

Change-Id: I89571d8734130002f0e12eb30cdb309ae35bf9a7
Signed-off-by: Arnaud Morin <arnaud.morin@gmail.com>
This commit is contained in:
Arnaud Morin
2025-09-01 20:58:53 +02:00
parent c98e93fc6d
commit a41349930e

View File

@@ -331,11 +331,7 @@ def random_sleep(limit=1):
:param limit: Float number of seconds that a sleep period must not exceed.
"""
seconds = random.Random().randint(0, limit * 1000) * 0.001
print("Sleep: %s sec..." % seconds)
time.sleep(seconds)