fix: sio-error test to fail if commands fail (#17466)

This commit is contained in:
Harshavardhana
2023-06-19 12:52:50 -07:00
committed by GitHub
parent 1443b5927a
commit f9b8d1c699

View File

@@ -1,12 +1,13 @@
#!/bin/bash
set -e
set -x
export CI=1
make || exit -1
killall -9 minio
killall -9 minio || true
rm -rf /tmp/xl/
mkdir -p /tmp/xl/1/ /tmp/xl/2/
@@ -45,6 +46,8 @@ sleep 1
sleep 1
cp README.md internal.tar
./mc cp internal.tar myminio1/testbucket/dir/1.tar
./mc cp internal.tar myminio2/testbucket/dir/2.tar