tests/e2e: ensure that we use a cluster create timeout everywhere

pull/656/head
iwilltry42 3 years ago
parent 364e96bf1f
commit 0fbf03a080
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 2
      tests/test_ipam.sh
  2. 2
      tests/test_memory_limits.sh
  3. 2
      tests/test_node_edit.sh

@ -18,7 +18,7 @@ expectedIPServer0="$expectedIPLabelServer0/16" # k3d excludes the subnet_start (
expectedIPServerLB="172.45.0.3/16"
info "Creating cluster $clustername..."
$EXE cluster create $clustername --subnet $subnet || failed "could not create cluster $clustername"
$EXE cluster create $clustername --timeout 360s --subnet $subnet || failed "could not create cluster $clustername"
info "Checking we have access to the cluster..."
check_clusters "$clustername" || failed "error checking cluster"

@ -13,7 +13,7 @@ highlight "[START] MemoryLimitTest $EXTRA_TITLE"
clustername="memlimittest"
info "Creating cluster $clustername..."
$EXE cluster create $clustername --servers-memory 1g --agents 1 --agents-memory 1.5g || failed "could not create cluster $clustername"
$EXE cluster create $clustername --timeout 360s --servers-memory 1g --agents 1 --agents-memory 1.5g || failed "could not create cluster $clustername"
info "Checking we have access to the cluster..."
check_clusters "$clustername" || failed "error checking cluster"

@ -18,7 +18,7 @@ newPortMappingHostPort="3333"
newPortMappingContainerPort="4444"
info "Creating cluster $clustername..."
$EXE cluster create $clustername --port "$existingPortMappingHostPort:$existingPortMappingContainerPort@loadbalancer" || failed "could not create cluster $clustername"
$EXE cluster create $clustername --timeout 360s --port "$existingPortMappingHostPort:$existingPortMappingContainerPort@loadbalancer" || failed "could not create cluster $clustername"
info "Checking cluster access..."
check_clusters "$clustername" || failed "error checking cluster access"

Loading…
Cancel
Save