Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tommartensen committed Jan 3, 2025
1 parent 1f6c6df commit 955d0dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/cluster/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 955d0dd

Please sign in to comment.