Skip to content

Commit

Permalink
Merge pull request #84 from pdettori/timeout
Browse files Browse the repository at this point in the history
🐛 increase timeout in wait for inside e2e tests
  • Loading branch information
pdettori authored Sep 25, 2024
2 parents 38d7ad2 + c458510 commit 5693393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/setup-ocm-and-addon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ function create_and_register() {
cluster=$1
kind create cluster --name $cluster
wait-for-cmd '[ $(kubectl --context kind-hub get ns open-cluster-management-hub -oname 2>/dev/null | wc -l) -eq 1 ]'
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-controller --timeout=60s
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-webhook --timeout=60s
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-controller --timeout=120s
kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-webhook --timeout=120s
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
}
create_and_register cluster1
Expand Down

0 comments on commit 5693393

Please sign in to comment.