Skip to content

Commit

Permalink
fix xdp private test
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Stoycos <astoycos@redhat.com>
  • Loading branch information
Andrew Stoycos committed Jun 3, 2024
1 parent 8abeb40 commit faadbc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/xdp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
var xdpPassPrivateImageCreds = os.Getenv("XDP_PASS_PRIVATE_IMAGE_CREDS")

func TestXdpPassPrivate(t *testing.T) {
t.Log("deploying secret for privated xdp bytecode image in the bpfman namespace")
t.Log("deploying secret for private xdp bytecode image in the bpfman namespace")
// Generated from
/*
kubectl create secret -n bpfman docker-registry regcred --docker-server=quay.io --docker-username=<USERNAME> --docker-password=<CREDS>
Expand Down Expand Up @@ -60,6 +60,8 @@ func TestXdpPassPrivate(t *testing.T) {
yamlData, err := yaml.Marshal(xdpPassPrivateSecret)
require.NoError(t, err)

t.Log("Built secret: %+v", yamlData)

Check failure on line 63 in test/integration/xdp_test.go

View workflow job for this annotation

GitHub Actions / kubernetes-integration-tests (1.21)

(*testing.common).Log call has possible Printf formatting directive %+v

require.NoError(t, clusters.ApplyManifestByYAML(ctx, env.Cluster(), string(yamlData)))
addCleanup(func(ctx context.Context) error {
cleanupLog("cleaning up xdp pass private secret")
Expand Down

0 comments on commit faadbc5

Please sign in to comment.