adapt tests to new --timeout flag
This commit is contained in:
parent
1b7f5c5f78
commit
0f9ec09796
@ -7,8 +7,8 @@ CURR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
source "$CURR_DIR/common.sh"
|
||||
|
||||
info "Creating two clusters..."
|
||||
$EXE --verbose create cluster c1 --wait 60 --api-port 6443 || failed "could not create cluster c1"
|
||||
$EXE --verbose create cluster c2 --wait 60 --api-port 6444 || failed "could not create cluster c2"
|
||||
$EXE --verbose create cluster c1 --wait --timeout 60 --api-port 6443 || failed "could not create cluster c1"
|
||||
$EXE --verbose create cluster c2 --wait --timeout 60 --api-port 6444 || failed "could not create cluster c2"
|
||||
|
||||
info "Checking we have access to both clusters..."
|
||||
check_k3d_clusters "c1" "c2" || failed "error checking cluster"
|
||||
|
@ -7,7 +7,7 @@ CURR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
source "$CURR_DIR/common.sh"
|
||||
|
||||
info "Creating cluster multimaster..."
|
||||
$EXE create cluster "multimaster" --masters 3 --api-port 6443 --wait 360 || failed "could not create cluster multimaster"
|
||||
$EXE create cluster "multimaster" --masters 3 --api-port 6443 --wait --timeout 360 || failed "could not create cluster multimaster"
|
||||
|
||||
info "Checking we have access to the cluster..."
|
||||
check_k3d_clusters "multimaster" || failed "error checking cluster"
|
||||
|
Loading…
Reference in New Issue
Block a user