mirror of https://github.com/minio/minio.git
fix: look to exact return returned from initServer() in tests
This commit is contained in:
parent
6a7e22386e
commit
fecb1b0489
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue