mirror of
https://github.com/minio/minio.git
synced 2025-04-17 17:30:07 -04:00
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 -E
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
@ -65,7 +64,7 @@ function start_minio_3_node() {
|
|||||||
|
|
||||||
|
|
||||||
function check_online() {
|
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"
|
echo "1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -86,7 +85,7 @@ function __init__()
|
|||||||
}
|
}
|
||||||
|
|
||||||
function perform_test() {
|
function perform_test() {
|
||||||
start_minio_3_node 60
|
start_minio_3_node 120
|
||||||
|
|
||||||
echo "Testing Distributed Erasure setup healing of drives"
|
echo "Testing Distributed Erasure setup healing of drives"
|
||||||
echo "Remove the contents of the disks belonging to '${1}' erasure set"
|
echo "Remove the contents of the disks belonging to '${1}' erasure set"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user