Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Makefile: Add platform as env var to poste2e test
Browse files Browse the repository at this point in the history
This exports a variable for the post e2e tests. This variable specifies
the current platform which will be used to detect if the corresponding
component test we are running is supposed to be run on that platform or
not.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Mar 23, 2020
1 parent f3cbc83 commit a69d30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ endif
run-e2e-tests:
KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),e2e" -covermode=atomic -buildmode=exe -v ./test/...
# Test if the metrics are actually being scraped
KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),poste2e" -covermode=atomic -buildmode=exe -v ./test/...
KUBECONFIG=${kubeconfig} PLATFORM=${platform} go test -mod=$(MOD) -tags="$(platform),poste2e" -covermode=atomic -buildmode=exe -v ./test/...
# This is a test that should be run in the end to reduce the disruption to other tests because
# it will delete a node.
KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),disruptivee2e" -covermode=atomic -buildmode=exe -v ./test/...
Expand Down

0 comments on commit a69d30b

Please sign in to comment.