diff --git a/Makefile b/Makefile index c2248351f..adcffb3f6 100644 --- a/Makefile +++ b/Makefile @@ -194,7 +194,7 @@ bats-e2e-tests: .PHONY: go-e2e-tests go-e2e-tests: proto-generated-srcs @kubectl apply -f workflows/ - @go test ./test/e2e/... -tags=e2e-2 -v -parallel 5 -count 1 -cover -timeout 1h + @go test ./test/e2e/... -tags=e2e-2 -v -parallel 5 -count 1 -cover -timeout 1h -json # Assuming a local dev infra server is running and accessible via a port-forward # i.e. nohup kubectl -n infra port-forward svc/infra-server-service 8443:8443 & diff --git a/test/e2e/cluster/list_test.go b/test/e2e/cluster/list_test.go index a4c06da99..e5e9c1a23 100644 --- a/test/e2e/cluster/list_test.go +++ b/test/e2e/cluster/list_test.go @@ -14,12 +14,14 @@ import ( func TestListCreated(t *testing.T) { utils.CheckContext() + fmt.Println("checked context") clusterID, err := infractlCreateCluster( "simulate", utils.GetUniqueClusterName("list-created"), "--lifespan=30s", "--arg=create-delay-seconds=5", "--arg=destroy-delay-seconds=5", ) + fmt.Println("infractlCreateCluster ran") assert.NoError(t, err) assert.NotEmpty(t, clusterID) listedClusters, err := infractlList("--prefix=list-created")