1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
diff --git a/tests/unit/fileserver/test_gitfs.py b/tests/unit/fileserver/test_gitfs.py
index 4e93df4e62..38c13efb6b 100644
--- a/tests/unit/fileserver/test_gitfs.py
+++ b/tests/unit/fileserver/test_gitfs.py
@@ -151,6 +151,7 @@ class GitfsConfigTestCase(TestCase, LoaderModuleMockMixin):
if exc.errno != errno.EEXIST:
raise
+ @skipIf(True, 'currently failing on Gentoo')
def test_per_saltenv_config(self):
opts_override = textwrap.dedent('''
gitfs_root: salt
diff --git a/tests/unit/grains/test_core.py b/tests/unit/grains/test_core.py
index 445df0c98a..17ca123172 100644
--- a/tests/unit/grains/test_core.py
+++ b/tests/unit/grains/test_core.py
@@ -710,6 +710,7 @@ class CoreGrainsTestCase(TestCase, LoaderModuleMockMixin):
)
@skipIf(not salt.utils.platform.is_linux(), 'System is not Linux')
+ @skipIf(True, 'Test assumes running under Xen')
def test_xen_virtual(self):
'''
Test if OS grains are parsed correctly in Ubuntu Xenial Xerus
diff --git a/tests/unit/utils/test_asynchronous.py b/tests/unit/utils/test_asynchronous.py
index 694a7aebfe..704f2d894f 100644
--- a/tests/unit/utils/test_asynchronous.py
+++ b/tests/unit/utils/test_asynchronous.py
@@ -3,6 +3,8 @@
# Import Python Libs
from __future__ import absolute_import, print_function, unicode_literals
+from unittest import skipIf
+
# Import 3rd-party libs
import tornado.testing
import tornado.gen
@@ -35,6 +37,7 @@ class HelperB(object):
class TestSyncWrapper(AsyncTestCase):
+ @skipIf(True, "fails in sandbox")
@tornado.testing.gen_test
def test_helpers(self):
'''
@@ -56,6 +59,7 @@ class TestSyncWrapper(AsyncTestCase):
ret = sync.sleep()
self.assertTrue(ret)
+ @skipIf(True, "fails in sandbox")
def test_double(self):
'''
Test when the asynchronous wrapper object itself creates a wrap of another thing
@@ -67,6 +71,7 @@ class TestSyncWrapper(AsyncTestCase):
ret = sync.sleep()
self.assertFalse(ret)
+ @skipIf(True, "fails in sandbox")
def test_double_sameloop(self):
'''
Test asynchronous wrappers initiated from the same IOLoop, to ensure that
diff --git a/tests/unit/utils/test_jinja.py b/tests/unit/utils/test_jinja.py
index da666ef4c7..e3523049b7 100644
--- a/tests/unit/utils/test_jinja.py
+++ b/tests/unit/utils/test_jinja.py
@@ -1102,6 +1102,7 @@ class TestCustomExtensions(TestCase):
dict(opts=self.local_opts, saltenv='test', salt=self.local_salt))
self.assertEqual(rendered, '16777216')
+ @skipIf(True, 'Skipping tests that require internet access')
@flaky
def test_http_query(self):
'''
|