Skip to content

Commit

Permalink
Increase timeout in e2e job
Browse files Browse the repository at this point in the history
  • Loading branch information
LionelJouin committed Mar 14, 2024
1 parent 489cb55 commit 641d367
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hack/e2e-kind-cluster-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() {
Expand All @@ -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

0 comments on commit 641d367

Please sign in to comment.