Skip to content

Commit

Permalink
Update testing docs
Browse files Browse the repository at this point in the history
Signed-off-by: innobead <[email protected]>
  • Loading branch information
innobead committed Dec 25, 2023
1 parent 7290f22 commit 6cf3b3e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions integration/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ <h1 class="title">Module <code>tests.common</code></h1>
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
Expand Down Expand Up @@ -2195,7 +2196,7 @@ <h1 class="title">Module <code>tests.common</code></h1>
break
if found:
break
time.sleep(RETRY_INTERVAL)
time.sleep(RETRY_INTERVAL_SHORT)
assert found


Expand All @@ -2219,7 +2220,7 @@ <h1 class="title">Module <code>tests.common</code></h1>
image = client.by_id_engine_image(image_name)
if image[&#39;conditions&#39;][0][&#39;status&#39;] == state:
break
time.sleep(RETRY_INTERVAL_LONG)
time.sleep(RETRY_INTERVAL_SHORT)
assert image[&#39;conditions&#39;][0][&#39;status&#39;] == state
return image

Expand Down Expand Up @@ -12943,7 +12944,7 @@ <h2 id="returns">Returns</h2>
image = client.by_id_engine_image(image_name)
if image[&#39;conditions&#39;][0][&#39;status&#39;] == state:
break
time.sleep(RETRY_INTERVAL_LONG)
time.sleep(RETRY_INTERVAL_SHORT)
assert image[&#39;conditions&#39;][0][&#39;status&#39;] == state
return image</code></pre>
</details>
Expand All @@ -12967,7 +12968,7 @@ <h2 id="returns">Returns</h2>
break
if found:
break
time.sleep(RETRY_INTERVAL)
time.sleep(RETRY_INTERVAL_SHORT)
assert found</code></pre>
</details>
</dd>
Expand Down

0 comments on commit 6cf3b3e

Please sign in to comment.