Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zone volume creation integration tests #359

Merged
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ unit-test:

# Linux only; populate env.sh with the hardware parameters
integration-test:
( cd test/integration; sh run.sh )
( cd test/integration; sh run.sh TestIntegration )

check:
@scripts/check.sh ./provider/ ./service/
Expand Down
23 changes: 23 additions & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.PHONY: all
all: help

help:
@echo
@echo "The following targets are commonly used:"
@echo
@echo "integration - Run integration tests"
@echo "zone-integration - Run zone-integration tests"
@echo "zone-e2e - Run zone-e2e tests"
@echo

.PHONY: integration
integration:
cd integration; ./run.sh TestIntegration

.PHONY: zone-integration
zone-integration:
cd integration; ./run.sh TestZoneIntegration

.PHONY: zone-e2e
zone-e2e:
go test -v -count=1 -timeout 1h -run '^TestZoneVolumes$$' ./e2e
Loading
Loading