diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 32605b6e..74726001 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -114,7 +114,7 @@ jobs: run: | go mod download REPO_VERSION=$(git describe --always --dirty) - go test -v ./conformance -run TestConformanceProfiles -args --conformance-profiles=ClusterNetworkPolicy --organization=kubernetes --project=kube-network-policies --url=https://github.com/kubernetes-sigs/kube-network-policies --version=${REPO_VERSION} --contact=https://github.com/kubernetes-sigs/kube-network-policies/issues/new --additional-info=https://github.com/kubernetes-sigs/kube-network-policies + go test -v ./conformance -run TestConformanceProfiles -timeout 20m -args --conformance-profiles=ClusterNetworkPolicy --organization=kubernetes --project=kube-network-policies --url=https://github.com/kubernetes-sigs/kube-network-policies --version=${REPO_VERSION} --contact=https://github.com/kubernetes-sigs/kube-network-policies/issues/new --additional-info=https://github.com/kubernetes-sigs/kube-network-policies - name: Upload Junit Reports if: always() diff --git a/Makefile b/Makefile index 503ef443..7c6a95ad 100644 --- a/Makefile +++ b/Makefile @@ -59,17 +59,17 @@ crd-e2e: ## Run the CRD e2e tests. .PHONY: conformance conformance: ## Run the conformance tests. go test ${GO_TEST_FLAGS} -v ./conformance \ - -run '^TestConformance$$' -args ${CONFORMANCE_FLAGS} + -run '^TestConformance$$' -timeout 20m -args ${CONFORMANCE_FLAGS} .PHONY: conformance-profiles conformance-profiles: ## Run the conformance profiles. go test ${GO_TEST_FLAGS} -v ./conformance \ - -run '^TestConformanceProfiles$$' -args ${CONFORMANCE_FLAGS} + -run '^TestConformanceProfiles$$' -timeout 20m -args ${CONFORMANCE_FLAGS} .PHONY: conformance-profiles-default conformance-profiles-default: ## Run the default conformance profile. go test ${GO_TEST_FLAGS} -v ./conformance \ - -run '^TestConformanceProfiles$$' -args \ + -run '^TestConformanceProfiles$$' -timeout 20m -args \ --conformance-profiles=ClusterNetworkPolicy ##@ Deployment