From 2d52949859f2897298b126e22c671df7b42b95c2 Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Fri, 18 Jun 2021 13:44:46 +0200 Subject: [PATCH] tests/e2e: ensure that we use a cluster create timeout everywhere --- tests/test_ipam.sh | 2 +- tests/test_memory_limits.sh | 2 +- tests/test_node_edit.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_ipam.sh b/tests/test_ipam.sh index 1d5e56d2..194c7822 100755 --- a/tests/test_ipam.sh +++ b/tests/test_ipam.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" diff --git a/tests/test_memory_limits.sh b/tests/test_memory_limits.sh index a5b81501..934a0f38 100755 --- a/tests/test_memory_limits.sh +++ b/tests/test_memory_limits.sh @@ -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" diff --git a/tests/test_node_edit.sh b/tests/test_node_edit.sh index b9a5de04..80f896d3 100755 --- a/tests/test_node_edit.sh +++ b/tests/test_node_edit.sh @@ -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"