Skip to content

Commit c809a20

Browse files
committed
leofs: fix test_it_del_bucket.sh to make it work for CI
1 parent ee6a25c commit c809a20

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/test_it_del_bucket.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,10 @@ s3cmd rb s3://test_11
7777
s3cmd rb s3://test_12
7878

7979
# Monitor the state of the del-bucket
80-
watch ./leofs-adm delete-bucket-stats
80+
## watch ./leofs-adm delete-bucket-stats
81+
RET=""
82+
until echo "$RET" | grep -q "Delete-bucket's stats not found"
83+
do
84+
sleep 3
85+
RET=$(./leofs-adm -p 10020 delete-bucket-stats)
86+
done

0 commit comments

Comments
 (0)