Skip to content

Commit d5d69f1

Browse files
committed
Fix tests
1 parent b3f81bc commit d5d69f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ test-verbose: ## Run tests with verbose settings.
280280

281281
.PHONY: test-junit
282282
test-junit: $(SETUP_ENVTEST) $(GOTESTSUM) ## Run tests with verbose setting and generate a junit report
283+
mkdir -p $(ARTIFACTS)
283284
set +o errexit; (KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" go test -json ./... $(TEST_ARGS); echo $$? > $(ARTIFACTS)/junit.exitcode) | tee $(ARTIFACTS)/junit.stdout
284285
$(GOTESTSUM) --junitfile $(ARTIFACTS)/junit.xml --raw-command cat $(ARTIFACTS)/junit.stdout
285286
exit $$(cat $(ARTIFACTS)/junit.exitcode)

cmd/plugin/cmd/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
)
3131

3232
const (
33-
waitShort = time.Second * 5
33+
waitShort = time.Second * 10
3434
waitLong = time.Second * 20
3535
)
3636

0 commit comments

Comments
 (0)