Skip to content

Commit

Permalink
test: unite the task name
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander committed Oct 12, 2024
1 parent 6a77468 commit 6875e0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
$(ENVTEST): $(LOCALBIN)
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest

.PHONY: start-controller-service
start-controller-service:
.PHONY: start-service
start-service:
cd ./tests/testdata/services && docker compose up -d

.PHONY: stop-controller-service
stop-controller-service:
.PHONY: stop-service
stop-service:
cd ./tests/testdata/services && docker compose down
2 changes: 1 addition & 1 deletion controller/tests/integration/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ func WaitServiceUp(port string, service string) {
c.Close()
return true
}, 10*time.Second, 50*time.Millisecond,
fmt.Sprintf("%s is unavailable. Please run `make start-controller-service` in ./controller to make it up.", service))
fmt.Sprintf("%s is unavailable. Please run `make start-service` in ./controller to make it up.", service))
}

0 comments on commit 6875e0d

Please sign in to comment.