Kill objectstore CI if we can't create a file
This is more of a hack. But one of the nodes won't properly run this. No sense in waiting 60 minutes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
ae720b3881
commit
3afc41a49b
1 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue