Skip to content

Commit

Permalink
TMP: Debug integation tests
Browse files Browse the repository at this point in the history
Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
  • Loading branch information
Billy99 committed Jun 14, 2024
1 parent 2fee248 commit 8e0a09d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ test-integration: ## Run Integration tests.
$(SED) -e 's@bpfman\.image=.*@bpfman.image=$(BPFMAN_IMG)@' \
-e 's@bpfman\.agent\.image=.*@bpfman.agent.image=$(BPFMAN_AGENT_IMG)@' \
kustomization.yaml.env > kustomization.yaml
cd config/bpfman-deployment && cat kustomization.yaml
GOFLAGS="-tags=integration_tests" go test -race -v ./test/integration/...

## The physical bundle is no longer tracked in git since it should be considered
Expand Down
2 changes: 2 additions & 0 deletions test/integration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ func TestMain(m *testing.M) {
// changes prior to the tests and fed them to the test suite.
if bpfmanAgentImage == "" || bpfmanOperatorImage == "" {
exitOnErr(fmt.Errorf("BPFMAN_AGENT_IMG, and BPFMAN_OPERATOR_IMG must be provided"))
} else {
fmt.Printf("INFO: using bpfmanAgentImage=%s and bpfmanOperatorImage=%s\n", bpfmanAgentImage, bpfmanOperatorImage)
}

ctx, cancel = context.WithCancel(context.Background())
Expand Down

0 comments on commit 8e0a09d

Please sign in to comment.