summaryrefslogtreecommitdiff
path: root/tests/integration_tests/bugs/test_lp1912844.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_tests/bugs/test_lp1912844.py')
-rw-r--r--tests/integration_tests/bugs/test_lp1912844.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/integration_tests/bugs/test_lp1912844.py b/tests/integration_tests/bugs/test_lp1912844.py
index 55511ed2..b5aafa76 100644
--- a/tests/integration_tests/bugs/test_lp1912844.py
+++ b/tests/integration_tests/bugs/test_lp1912844.py
@@ -17,6 +17,7 @@ the traceback that they cause. We work around this by calling
import pytest
from tests.integration_tests import random_mac_address
+from tests.integration_tests.integration_settings import PLATFORM
MAC_ADDRESS = random_mac_address()
@@ -85,7 +86,10 @@ def ovs_enabled_session_cloud(session_cloud):
session_cloud.snapshot_id = old_snapshot_id
-@pytest.mark.lxd_vm
+@pytest.mark.skipif(
+ PLATFORM != "lxd_vm",
+ reason="Test requires custom networking provided by LXD",
+)
def test_get_interfaces_by_mac_doesnt_traceback(ovs_enabled_session_cloud):
"""Launch our OVS-enabled image and confirm the bug doesn't reproduce."""
launch_kwargs = {