diff options
Diffstat (limited to 'tests/drone-wait-objectstore.sh')
-rwxr-xr-x | tests/drone-wait-objectstore.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/drone-wait-objectstore.sh b/tests/drone-wait-objectstore.sh new file mode 100755 index 00000000000..1e5a13ee55e --- /dev/null +++ b/tests/drone-wait-objectstore.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ "$OBJECT_STORE" == "swift" ]; then + echo "waiting for swift" + until curl -I http://dockswift:5000/v3 + do + sleep 2 + done + sleep 30 +fi |