From fecb1b0489fe747eea9d5ebca7549f5590db9e26 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 24 Aug 2021 15:06:23 -0700 Subject: [PATCH] fix: look to exact return returned from initServer() in tests --- buildscripts/verify-healing.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buildscripts/verify-healing.sh b/buildscripts/verify-healing.sh index 10ded055a..595c82bac 100755 --- a/buildscripts/verify-healing.sh +++ b/buildscripts/verify-healing.sh @@ -1,7 +1,6 @@ -#!/bin/bash +#!/bin/bash -e # -set -e set -E set -o pipefail @@ -65,7 +64,7 @@ function start_minio_3_node() { function check_online() { - if grep -q 'Unable to initialize' ${WORK_DIR}/dist-minio-*.log; then + if grep -q 'Unable to initialize sub-systems' ${WORK_DIR}/dist-minio-*.log; then echo "1" fi } @@ -86,7 +85,7 @@ function __init__() } function perform_test() { - start_minio_3_node 60 + start_minio_3_node 120 echo "Testing Distributed Erasure setup healing of drives" echo "Remove the contents of the disks belonging to '${1}' erasure set"