Skip to content

Commit

Permalink
Merge pull request #821 from SchSeba/fix_mtu_disconnected_test
Browse files Browse the repository at this point in the history
add link state enable on test
  • Loading branch information
SchSeba authored Dec 31, 2024
2 parents 270d88b + d7d2e57 commit 0af8dc5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/conformance/tests/test_policy_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,11 @@ var _ = Describe("[sriov] operator", Ordered, func() {
NetworkNamespace: namespaces.Test,
}}

// for real BM env we enable link state
if !cluster.VirtualCluster() {
sriovNetwork.Spec.LinkState = "enable"
}

// We need this to be able to run the connectivity checks on Mellanox cards
if intf.DeviceID == "1015" {
sriovNetwork.Spec.SpoofChk = off
Expand Down

0 comments on commit 0af8dc5

Please sign in to comment.