Skip to content

Commit e5a5dbd

Browse files
authored
Merge pull request #551 from Gekko0114/Makefile_args
Add integration test args to Makefile
2 parents dadd031 + 09969dc commit e5a5dbd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ install-envtest:
120120

121121
.PHONY: integration-test
122122
integration-test: install-envtest
123-
$(INTEGTESTENVVAR) hack/integration-test.sh
123+
$(INTEGTESTENVVAR) hack/integration-test.sh $(ARGS)
124124

125125
.PHONY: verify
126126
verify:

hack/integration-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ runTests() {
3232
source "${TEMP_DIR}/setup-envtest"
3333

3434
kube::log::status "Running integration test cases"
35-
# TODO: make args customizable.
36-
go test -timeout=40m -mod=vendor sigs.k8s.io/scheduler-plugins/test/integration/...
35+
36+
go test -timeout=40m -mod=vendor sigs.k8s.io/scheduler-plugins/test/integration/... ${ARGS:-}
3737
}
3838

3939
trap cleanup EXIT

0 commit comments

Comments
 (0)