From ad376eb7b6939f7bd89adf092be4a569194d0e87 Mon Sep 17 00:00:00 2001 From: Thomas Ferrandiz Date: Thu, 19 Sep 2024 08:25:24 +0000 Subject: [PATCH] add timeout to e2e test pipelines --- .github/workflows/e2eTests.yaml | 1 + .github/workflows/k3s-e2eTests.yml | 1 + Makefile | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2eTests.yaml b/.github/workflows/e2eTests.yaml index 8ad6e6c97..c4ed508ef 100644 --- a/.github/workflows/e2eTests.yaml +++ b/.github/workflows/e2eTests.yaml @@ -6,6 +6,7 @@ jobs: e2e-test: name: test runs-on: ubuntu-latest + timeout-minutes: 90 steps: - name: Set up Go 1.x uses: actions/setup-go@v5 diff --git a/.github/workflows/k3s-e2eTests.yml b/.github/workflows/k3s-e2eTests.yml index f0a209f13..a4f3aa4e0 100644 --- a/.github/workflows/k3s-e2eTests.yml +++ b/.github/workflows/k3s-e2eTests.yml @@ -11,6 +11,7 @@ jobs: k3s-e2e-tests: name: test runs-on: ubuntu-latest + timeout-minutes: 90 steps: - uses: actions/checkout@v4 - name: Set up Go 1.x diff --git a/Makefile b/Makefile index ce917648c..4b3abaa52 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ e2e-test: bash_unit dist/flanneld-e2e-$(TAG)-$(ARCH).docker FLANNEL_DOCKER_IMAGE=$(REGISTRY):$(TAG)-$(ARCH) ./bash_unit dist/functional-test.sh FLANNEL_DOCKER_IMAGE=$(REGISTRY):$(TAG)-$(ARCH) ./bash_unit dist/functional-test-k8s.sh -k3s-e2e-test: bash_unit +k3s-e2e-test: bash_unit dist/flanneld-e2e-$(TAG)-$(ARCH).docker $(MAKE) -C images/iperf3 ARCH=$(ARCH) ./bash_unit ./e2e/run-e2e-tests.sh