Skip to content

Commit

Permalink
Merge pull request projectcalico#8951 from sridhartigera/bpf-ut-fix
Browse files Browse the repository at this point in the history
Fix BPF UTs
  • Loading branch information
tomastigera authored Jun 28, 2024
2 parents bc94bb5 + 7ce2592 commit 09ecf72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion felix/bpf/ut/attach_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"path"
"path/filepath"
"regexp"
"strings"
"testing"

. "github.com/onsi/gomega"
Expand Down Expand Up @@ -237,7 +238,7 @@ func runAttachTest(t *testing.T, ipv6Enabled bool) {
Expect(err).NotTo(HaveOccurred())
hasXDP := false
for _, p := range progs {
if p.Name == "cali_xdp_preamb" {
if strings.Contains(p.Name, "cali_xdp_preamb") {
hasXDP = true
break
}
Expand Down

0 comments on commit 09ecf72

Please sign in to comment.