Skip to content

Commit 053505d

Browse files
committed
net, flat overlay: Mark tests
Flat overlay tests are not currently supported on IPv6 single-stack clusters, but they are still collected when running tests on such clusters. In this PR, these tests are marked for IPv4 and jumbo frame accordingly. Signed-off-by: Asia Khromov <azhivovk@redhat.com>
1 parent ed4809e commit 053505d

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

tests/network/flat_overlay/test_flat_overlay.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
pytest.mark.usefixtures(
1414
"enable_multi_network_policy_usage",
1515
),
16+
pytest.mark.ipv4,
1617
]
1718

1819

1920
@pytest.mark.s390x
2021
class TestFlatOverlayConnectivity:
2122
@pytest.mark.gating
22-
@pytest.mark.ipv4
2323
@pytest.mark.polarion("CNV-10158")
2424
# Not marked as `conformance`; requires NMState
2525
@pytest.mark.dependency(name="test_flat_overlay_basic_ping")
@@ -93,6 +93,7 @@ def test_flat_overlay_consistent_ip(
9393
)
9494

9595

96+
@pytest.mark.jumbo_frame
9697
class TestFlatOverlayJumboConnectivity:
9798
@pytest.mark.polarion("CNV-10162")
9899
@pytest.mark.s390x

tests/network/flat_overlay/test_multi_network_policy.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
from tests.network.utils import assert_no_ping
66
from utilities.network import assert_ping_successful
77

8-
pytestmark = pytest.mark.usefixtures(
9-
"enable_multi_network_policy_usage",
10-
"flat_l2_port",
11-
)
8+
pytestmark = [
9+
pytest.mark.usefixtures(
10+
"enable_multi_network_policy_usage",
11+
"flat_l2_port",
12+
),
13+
pytest.mark.ipv4,
14+
]
1215

1316

1417
@pytest.mark.polarion("CNV-10644")

0 commit comments

Comments
 (0)