mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Integration tests for odo dev running on podman (#6332)
* Change signature of StartDevMode to use options structure * Add tests for odo dev on podman * Uncomment commented code * Update Makefile Co-authored-by: Armel Soro <armel@rm3l.org> Co-authored-by: Armel Soro <armel@rm3l.org>
This commit is contained in:
8
Makefile
8
Makefile
@@ -53,6 +53,8 @@ GINKGO_FLAGS_ALL = $(GINKGO_TEST_ARGS) --randomize-all --slow-spec-threshold=$(S
|
||||
GINKGO_FLAGS_AUTO = $(GINKGO_FLAGS_ALL) -p
|
||||
# Flags for tests that may be run in parallel
|
||||
GINKGO_FLAGS=$(GINKGO_FLAGS_ALL) -nodes=$(TEST_EXEC_NODES)
|
||||
# Flags for tests that must not be run in parallel
|
||||
GINKGO_FLAGS_ONE=$(GINKGO_FLAGS_ALL) -nodes=1
|
||||
# GolangCi version for unit-validate test
|
||||
GOLANGCI_LINT_VERSION=1.49.0
|
||||
|
||||
@@ -190,12 +192,16 @@ openshiftci-presubmit-unittests:
|
||||
|
||||
.PHONY: test-integration-cluster
|
||||
test-integration-cluster:
|
||||
$(RUN_GINKGO) $(GINKGO_FLAGS) --junit-report="test-integration.xml" --label-filter="!nocluster" tests/integration
|
||||
$(RUN_GINKGO) $(GINKGO_FLAGS) --junit-report="test-integration.xml" --label-filter="!nocluster && !podman" tests/integration
|
||||
|
||||
.PHONY: test-integration-no-cluster
|
||||
test-integration-no-cluster:
|
||||
$(RUN_GINKGO) $(GINKGO_FLAGS_AUTO) --junit-report="test-integration-nc.xml" --label-filter=nocluster tests/integration
|
||||
|
||||
.PHONY: test-integration-podman
|
||||
test-integration-podman:
|
||||
$(RUN_GINKGO) $(GINKGO_FLAGS_ONE) --junit-report="test-integration-podman.xml" --label-filter=podman tests/integration
|
||||
|
||||
.PHONY: test-integration
|
||||
test-integration: test-integration-no-cluster test-integration-cluster
|
||||
|
||||
|
||||
Reference in New Issue
Block a user