Skip to content

Commit

Permalink
ci: stabilize ecosystem client tools workflow (project-zot#2224)
Browse files Browse the repository at this point in the history
Since the scheduler no longer executes generators in a fixed order, and scrub logic refactoring,
the scrub tasks may or may not complete in the expected time.
Increase sleep times used to search for tasks results in zot logs.

Signed-off-by: Andrei Aaron <[email protected]>
  • Loading branch information
andaaron authored Feb 2, 2024
1 parent 6a83dd4 commit a60d389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/blackbox/scrub.bats
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function teardown() {
wait_zot_reachable ${zot_port}

# wait for scrub to be done and logs to get populated
run sleep 20s
run sleep 30s
run not_affected
[ "$status" -eq 0 ]
[ $(echo "${lines[0]}" ) = 'true' ]
Expand All @@ -82,7 +82,7 @@ function teardown() {
wait_zot_reachable ${zot_port}

# wait for scrub to be done and logs to get populated
run sleep 20s
run sleep 30s
run affected
[ "$status" -eq 0 ]
[ $(echo "${lines[0]}" ) = 'true' ]
Expand Down

0 comments on commit a60d389

Please sign in to comment.