From 6cf3b3ea1ee7fbe91ed7fd86f0e512dd0e6c42de Mon Sep 17 00:00:00 2001 From: innobead Date: Mon, 25 Dec 2023 09:23:55 +0000 Subject: [PATCH] Update testing docs Signed-off-by: innobead --- integration/common.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/integration/common.html b/integration/common.html index d8496c09ff..0b142563d4 100644 --- a/integration/common.html +++ b/integration/common.html @@ -94,6 +94,7 @@

Module tests.common

RETRY_COUNTS_SHORT = 30 RETRY_COUNTS_LONG = 360 RETRY_INTERVAL = 1 +RETRY_INTERVAL_SHORT = 0.5 RETRY_INTERVAL_LONG = 2 RETRY_BACKUP_COUNTS = 300 RETRY_BACKUP_INTERVAL = 1 @@ -2195,7 +2196,7 @@

Module tests.common

break if found: break - time.sleep(RETRY_INTERVAL) + time.sleep(RETRY_INTERVAL_SHORT) assert found @@ -2219,7 +2220,7 @@

Module tests.common

image = client.by_id_engine_image(image_name) if image['conditions'][0]['status'] == state: break - time.sleep(RETRY_INTERVAL_LONG) + time.sleep(RETRY_INTERVAL_SHORT) assert image['conditions'][0]['status'] == state return image @@ -12943,7 +12944,7 @@

Returns

image = client.by_id_engine_image(image_name) if image['conditions'][0]['status'] == state: break - time.sleep(RETRY_INTERVAL_LONG) + time.sleep(RETRY_INTERVAL_SHORT) assert image['conditions'][0]['status'] == state return image @@ -12967,7 +12968,7 @@

Returns

break if found: break - time.sleep(RETRY_INTERVAL) + time.sleep(RETRY_INTERVAL_SHORT) assert found