summaryrefslogtreecommitdiff
path: root/tests/integration_tests/modules/test_ntp_servers.py
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-11-18 09:48:47 -0500
committerGitHub <noreply@github.com>2020-11-18 09:48:47 -0500
commitcd752df6154c403e6dccaf5e797c1d4f8396f756 (patch)
tree3f682661fa224146cab27e67edb0afa16a0bd5f9 /tests/integration_tests/modules/test_ntp_servers.py
parentf680114446a5a20ce88f3d10d966811a774c8e8f (diff)
downloadvyos-cloud-init-cd752df6154c403e6dccaf5e797c1d4f8396f756.tar.gz
vyos-cloud-init-cd752df6154c403e6dccaf5e797c1d4f8396f756.zip
only run a subset of integration tests in CI (#672)
This introduces the "ci" mark, used to indicate a test which should run as part of our CI integration testing run and the integration-tests-ci tox environment, which runs only those tests. Travis has been adjusted to use this tox environment. (All current module tests have been marked with the "ci" mark, but the one bug test that we have has not.)
Diffstat (limited to 'tests/integration_tests/modules/test_ntp_servers.py')
-rw-r--r--tests/integration_tests/modules/test_ntp_servers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration_tests/modules/test_ntp_servers.py b/tests/integration_tests/modules/test_ntp_servers.py
index 4cad8926..e72389c1 100644
--- a/tests/integration_tests/modules/test_ntp_servers.py
+++ b/tests/integration_tests/modules/test_ntp_servers.py
@@ -22,6 +22,7 @@ ntp:
EXPECTED_SERVERS = yaml.safe_load(USER_DATA)["ntp"]["servers"]
+@pytest.mark.ci
@pytest.mark.user_data(USER_DATA)
class TestNtpServers: