From f9b8d1c6999e65ab31899cbbe0314f5a4e5257c3 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 19 Jun 2023 12:52:50 -0700 Subject: [PATCH] fix: sio-error test to fail if commands fail (#17466) --- docs/bucket/replication/sio-error.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/bucket/replication/sio-error.sh b/docs/bucket/replication/sio-error.sh index b40e7d4be..e7106e93a 100755 --- a/docs/bucket/replication/sio-error.sh +++ b/docs/bucket/replication/sio-error.sh @@ -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