mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
fix(nightly): fix nightly builds (#1584)
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
@@ -58,7 +58,7 @@ function zot_serve() {
|
||||
|
||||
function zb_run() {
|
||||
local zot_address=${1}
|
||||
${ZB_PATH} -c 10 -n 100 -o stdout ${zot_address} --skip-cleanup
|
||||
${ZB_PATH} -c 10 -n 30 -o stdout ${zot_address} --skip-cleanup
|
||||
}
|
||||
|
||||
function wait_str() {
|
||||
|
||||
@@ -113,7 +113,7 @@ function teardown_file() {
|
||||
wait_zot_reachable "http://127.0.0.1:8080/v2/"
|
||||
start=`date +%s`
|
||||
echo "waiting for restoring blobs task to finish" >&3
|
||||
run wait_for_string "dedupe rebuild: finished" ${ZOT_LOG_FILE} "5m"
|
||||
run wait_for_string "dedupe rebuild: finished" ${ZOT_LOG_FILE} "10m"
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
end=`date +%s`
|
||||
|
||||
@@ -105,7 +105,7 @@ function teardown_file() {
|
||||
start=`date +%s`
|
||||
echo "waiting for sync to finish" >&3
|
||||
|
||||
run wait_for_string "sync: finished syncing all repos" ${ZOT_LOG_FILE} "3m"
|
||||
run wait_for_string "sync: finished syncing all repos" ${ZOT_LOG_FILE} "5m"
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
end=`date +%s`
|
||||
|
||||
Reference in New Issue
Block a user