Skip to content

Commit

Permalink
fix test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
petrutlucian94 committed Nov 26, 2024
1 parent a812df9 commit c4c39d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/k8s/pkg/k8sd/features/cilium/internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ func TestInternalConfig(t *testing.T) {
apiv1_annotations.AnnotationDevices: "eth+ lxdbr+",
apiv1_annotations.AnnotationDirectRoutingDevice: "eth0",
apiv1_annotations.AnnotationVLANBPFBypass: "1,2,3",
apiv1_annotations.AnnotationCNIExclusive: "false",
apiv1_annotations.AnnotationCNIExclusive: "true",
},
expectedConfig: config{
devices: "eth+ lxdbr+",
directRoutingDevice: "eth0",
vlanBPFBypass: []int{1, 2, 3},
cniExclusive: true,
},
expectError: false,
},
Expand Down

0 comments on commit c4c39d1

Please sign in to comment.