test: increase timeout waiting for ceph commands
The test scripts were only waiting for a timeout of three seconds for ceph commands, which was causing intermittent failures in the CI. Now the timeout is increased to ten seconds. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -10,7 +10,7 @@ set -x
|
||||
LOG_DIR="${LOG_DIR%/}" # remove trailing slash if necessary
|
||||
mkdir -p "${LOG_DIR}"
|
||||
|
||||
CEPH_CMD="kubectl -n ${CLUSTER_NAMESPACE} exec deploy/rook-ceph-tools -- ceph --connect-timeout 3"
|
||||
CEPH_CMD="kubectl -n ${CLUSTER_NAMESPACE} exec deploy/rook-ceph-tools -- ceph --connect-timeout 10"
|
||||
|
||||
$CEPH_CMD -s >"${LOG_DIR}"/ceph-status.txt
|
||||
$CEPH_CMD osd dump >"${LOG_DIR}"/ceph-osd-dump.txt
|
||||
|
||||
@@ -25,7 +25,7 @@ OSD_COUNT=$2
|
||||
#############
|
||||
# FUNCTIONS #
|
||||
#############
|
||||
EXEC_COMMAND="kubectl -n rook-ceph exec $(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath='{.items[*].metadata.name}') -- ceph --connect-timeout 3"
|
||||
EXEC_COMMAND="kubectl -n rook-ceph exec $(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath='{.items[*].metadata.name}') -- ceph --connect-timeout 10"
|
||||
|
||||
function wait_for_daemon () {
|
||||
timeout=90
|
||||
|
||||
Reference in new issue
Block a user