summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/drone-wait-objectstore.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/drone-wait-objectstore.sh b/tests/drone-wait-objectstore.sh
index 228accc3da9..7914d45bed1 100755
--- a/tests/drone-wait-objectstore.sh
+++ b/tests/drone-wait-objectstore.sh
@@ -44,6 +44,7 @@ if [ "$OBJECT_STORE" == "swift" ]; then
echo "creating test file"
+ i=0
while [ 1 ]
do
sleep 2
@@ -54,6 +55,12 @@ if [ "$OBJECT_STORE" == "swift" ]; then
then
break
fi
+
+ i=$((i + 1))
+ if [ "$i" == "20" ]
+ then
+ exit -1
+ fi
done
echo "deleting test file"