Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ SHELL = /usr/bin/env bash -o pipefail
NAMESPACE_FOR_TESTING ?= "jws-operator-tests"
TEST_IMG ?= "quay.io/web-servers/tomcat10:latest"
EXECUTE_TEST ?= "WebServerControllerTest"
TEST_TIMEOUT ?= "60m"

.PHONY: all
all: build
Expand Down Expand Up @@ -153,7 +154,7 @@ cleanup-test-e2e: ## Tear down the Kind cluster used for e2e tests
# Prerequisite: the operator is installed and avialable in the cluster
.PHONY: test-e2e-real
test-e2e-real: setup-namespace generate fmt vet
NAMESPACE_FOR_TESTING=$(NAMESPACE_FOR_TESTING) TEST_IMG=$(TEST_IMG) go test ./test/e2e/ -v -timeout=60m -ginkgo.vv -ginkgo.focus $(EXECUTE_TEST) $(TEST_PARAM)
NAMESPACE_FOR_TESTING=$(NAMESPACE_FOR_TESTING) TEST_IMG=$(TEST_IMG) go test ./test/e2e/ -v -timeout=$(TEST_TIMEOUT) -ginkgo.vv -ginkgo.focus $(EXECUTE_TEST) $(TEST_PARAM)

.PHONY: setup-namespace
setup-namespace:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ Testing can be configured via environment variables:
- NAMESPACE_FOR_TESTING - Namespace where webservers will be deployed. Default value: ```jws-operator-tests```
- TEST_IMG - Default image for tests which do not require specific image. Default value: ```quay.io/web-servers/tomcat-demo```
- EXECUTE_TEST - Comma-separated list of test which will be executed.
- TEST_PARAM - additional ginkgo settings.
- TEST_TIMEOUT - Overall timeout for running the e2e tests.
- TEST_PARAM - Additional ginkgo settings.

The whole testsuite takes about 40 minutes...

Expand Down
Loading