Skip to content

Commit 11845f9

Browse files
authored
[4.19] tests, net, hot plug: quarantine multiple interfaces hot plug scenario (#5082)
##### What this PR does / why we need it: Quarantining the scenario that creates 3 additional hot-plug interfaces will stabilize the module until a proper fix is applied in a future PR. Backport of #3455 to cnv-4.19. ##### Which issue(s) this PR fixes: Hot-plug tests are showing flakiness because the test tries to hot-plug too many interfaces (more than 4, which is the maximum allowed for the VM spec used in this module). Quarantining the scenario that creates 3 additional hot-plug interfaces will stabilize the module until a proper fix is applied. ##### Special notes for reviewer: ##### jira-ticket: [CNV-76670](https://issues.redhat.com/browse/CNV-76670) Signed-off-by: Anat Wax <awax@redhat.com>
1 parent e34b355 commit 11845f9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/network/l2_bridge/test_bridge_nic_hot_plug.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
set_secondary_static_ip_address,
2222
wait_for_interface_hot_plug_completion,
2323
)
24-
from utilities.constants import FLAT_OVERLAY_STR, SRIOV, UNPRIVILEGED_USER
24+
from utilities.constants import FLAT_OVERLAY_STR, QUARANTINED, SRIOV, UNPRIVILEGED_USER
2525
from utilities.network import (
2626
IfaceNotFound,
2727
assert_ping_successful,
@@ -506,6 +506,10 @@ def test_vmi_spec_updated_with_hot_plugged_interface(
506506
name="test_multiple_interfaces_hot_plugged",
507507
depends=["test_vmi_spec_updated_with_hot_plugged_interface"],
508508
)
509+
@pytest.mark.xfail(
510+
reason=(f"{QUARANTINED}: Failing due to hot plugging too many interfaces to the VM. Tracked in CNV-76670"),
511+
run=False,
512+
)
509513
def test_multiple_interfaces_hot_plugged(
510514
self,
511515
running_vm_for_nic_hot_plug,

0 commit comments

Comments
 (0)