Adding ability to test specific cloud type
MODIFY
Makefile
Makefile
@@ -21,6 +21,10 @@ specific_test_set:
echo "running $(TestSet) Acceptance Tests"
cd misc/test && go test . --timeout 4h -v -count=1 -short -parallel 40 --tags=all --run=TestAcc$(TestSet)
+specific_tag_set:
+ echo "running $(TagSet)$(TestSet) Acceptance Tests"
+ cd misc/test && go test . --timeout 4h -v -count=1 -short -parallel 40 --tags=$(TagSet) --run=TestAcc$(TagSet)$(TestSet)
+
setup_test_infra:
echo "Setting up test infra"
./misc/scripts/create-ci-cluster.sh $(StackName)

MODIFY
misc/test/aws_test.go
misc/test/aws_test.go
-// +build aws all
+// +build Aws all
package test

MODIFY
misc/test/azure_test.go
misc/test/azure_test.go
-// +build azure all
+// +build Azure all
package test

MODIFY
misc/test/cloud_test.go
misc/test/cloud_test.go
-// +build cloud all
+// +build Cloud all
package test

MODIFY
misc/test/digitalocean_test.go
misc/test/digitalocean_test.go
-// +build digitalocean all
+// +build DigitalOcean all
package test

MODIFY
misc/test/google_test.go
misc/test/google_test.go
-// +build google all
+// +build Gcp all
package test

MODIFY
misc/test/kubernetes_test.go
misc/test/kubernetes_test.go
-// +build kubernetes all
+// +build Kubernetes all
package test

Adding ability to test specific cloud type