]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
cloud: loosen the glacier transfer test waiting check
authornorbert.bizet <norbert.bizet@baculasystems.com>
Thu, 22 Sep 2022 09:04:29 +0000 (05:04 -0400)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
regress/tests/cloud-transfer-test

index 6b4f0161acec7f9b6b48aa548cbd84808e01d8a2..76933fc18941e74964faa16158a95edf63f7178a 100755 (executable)
@@ -97,7 +97,9 @@ if test $? -ne 0; then
     estat=2
 fi
 
-grep "JobId=2 Vol1/part.2 waiting..." ${working}/*-sd.trace 2>&1 >/dev/null
+# ANY waiting state is accepted (waiting for a specific part might be mask by another part wait)
+# so a minimum of 1 wait is expected
+grep "JobId=2 Vol1/part.* waiting..." ${working}/*-sd.trace 2>&1 >/dev/null
 if test $? -ne 0; then
     echo "Error: No waiting done for transfer"
     estat=2