From 641d367eef2c8ba91a53b12c4b4b810f7cb78df7 Mon Sep 17 00:00:00 2001 From: Lionel Jouin Date: Tue, 12 Mar 2024 23:55:50 +0100 Subject: [PATCH] Increase timeout in e2e job --- hack/e2e-kind-cluster-setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hack/e2e-kind-cluster-setup.sh b/hack/e2e-kind-cluster-setup.sh index f8fe52ea..ca1ac1ca 100755 --- a/hack/e2e-kind-cluster-setup.sh +++ b/hack/e2e-kind-cluster-setup.sh @@ -4,7 +4,7 @@ set -xe CNI_VERSION=${CNI_VERSION:-0.4.0} OCI_BIN=${OCI_BIN:-docker} IMG_REGISTRY=${IMAGE_REGISTRY:-localhost:5000/k8snetworkplumbingwg} -IMG_TAG="latest" +IMG_TAG="e2e" start_registry_container() { pushd multus-cni @@ -26,6 +26,7 @@ push_local_image() { OCI_BIN="$OCI_BIN" IMAGE_REGISTRY="$IMG_REGISTRY" IMAGE_TAG="$IMG_TAG" make manifests OCI_BIN="$OCI_BIN" IMAGE_REGISTRY="$IMG_REGISTRY" IMAGE_TAG="$IMG_TAG" make img-build "$OCI_BIN" push "$IMG_REGISTRY/multus-dynamic-networks-controller:$IMG_TAG" + kind load docker-image $IMG_REGISTRY/multus-dynamic-networks-controller:$IMG_TAG } cleanup() { @@ -39,4 +40,9 @@ start_registry_container setup_cluster push_local_image kubectl apply -f manifests/dynamic-networks-controller.yaml +sleep 2 + +kubectl get pods --all-namespaces -o wide +kubectl describe pods -n kube-system + kubectl wait -nkube-system --for=condition=ready --timeout=180s -l app=dynamic-networks-controller pods