Skip to content

Commit 5693393

Browse files
authored
Merge pull request #84 from pdettori/timeout
🐛 increase timeout in wait for inside e2e tests
2 parents 38d7ad2 + c458510 commit 5693393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/setup-ocm-and-addon.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ function create_and_register() {
3131
cluster=$1
3232
kind create cluster --name $cluster
3333
wait-for-cmd '[ $(kubectl --context kind-hub get ns open-cluster-management-hub -oname 2>/dev/null | wc -l) -eq 1 ]'
34-
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-controller --timeout=60s
35-
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-webhook --timeout=60s
34+
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-controller --timeout=120s
35+
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-webhook --timeout=120s
3636
clusteradm --context kind-hub get token | grep '^clusteradm join' | sed "s/<cluster_name>/${cluster}/" | awk '{print $0 " --context 'kind-${cluster}' --force-internal-endpoint-lookup"}' | sh
3737
}
3838
create_and_register cluster1

0 commit comments

Comments
 (0)