summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames Falcon <therealfalcon@gmail.com>2021-09-27 13:02:07 -0500
committerGitHub <noreply@github.com>2021-09-27 12:02:07 -0600
commitc29c5b1d6d872a4b9754d7a1393bd1acde621447 (patch)
tree4aedda8e95c6d730bf075519e2f7fc7949c55ed6 /tests
parent8cebc449812b4bff4afaa0837b140030c419f98e (diff)
downloadvyos-cloud-init-c29c5b1d6d872a4b9754d7a1393bd1acde621447.tar.gz
vyos-cloud-init-c29c5b1d6d872a4b9754d7a1393bd1acde621447.zip
Skip test_cache_purged_on_version_change on Azure (#1033)
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_tests/modules/test_version_change.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/integration_tests/modules/test_version_change.py b/tests/integration_tests/modules/test_version_change.py
index ffea794a..f28079d4 100644
--- a/tests/integration_tests/modules/test_version_change.py
+++ b/tests/integration_tests/modules/test_version_change.py
@@ -1,5 +1,7 @@
from pathlib import Path
+import pytest
+
from tests.integration_tests.instances import IntegrationInstance
from tests.integration_tests.util import ASSETS_DIR, verify_clean_log
@@ -38,6 +40,14 @@ def test_reboot_without_version_change(client: IntegrationInstance):
])
+@pytest.mark.ec2
+@pytest.mark.gce
+@pytest.mark.oci
+@pytest.mark.openstack
+@pytest.mark.lxd_container
+@pytest.mark.lxd_vm
+# No Azure because the cache gets purged every reboot, so we'll never
+# get to the point where we need to purge cache due to version change
def test_cache_purged_on_version_change(client: IntegrationInstance):
# Start by pushing the invalid pickle so we'll hit an error if the
# cache didn't actually get purged