Skip to content

Commit

Permalink
Merge pull request #594 from SchSeba/enable_mtu_test
Browse files Browse the repository at this point in the history
re-enable mtu test on virtual cluster
  • Loading branch information
adrianchiris authored Jan 29, 2024
2 parents b2e875b + eaa81ce commit 4923121
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions test/conformance/tests/test_sriov_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1446,10 +1446,6 @@ var _ = Describe("[sriov] operator", func() {

Context("MTU", func() {
BeforeEach(func() {
if cluster.VirtualCluster() {
// https://bugzilla.redhat.com/show_bug.cgi?id=2214977
Skip("Bug in IGB driver")
}

var node string
resourceName := "mturesource"
Expand Down
6 changes: 5 additions & 1 deletion test/util/pod/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ func GetDefinition() *corev1.Pod {
Spec: corev1.PodSpec{
TerminationGracePeriodSeconds: pointer.Int64Ptr(0),
Containers: []corev1.Container{{Name: "test",
Image: images.Test(),
Image: images.Test(),
SecurityContext: &corev1.SecurityContext{
Capabilities: &corev1.Capabilities{
Add: []corev1.Capability{"NET_RAW"},
}},
Command: []string{"/bin/bash", "-c", "sleep INF"}}}}}

return podObject
Expand Down

0 comments on commit 4923121

Please sign in to comment.