[2017.7] Mark some tornado tests as flaky

This commit is contained in:
rallytime 2018-07-23 12:53:26 -04:00
parent 801eae3b8d
commit 7332cce567
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -86,6 +86,7 @@ class TestSaltAPIHandler(_SaltnadoIntegrationTestCase):
self.assertEqual(response.code, 302)
self.assertEqual(response.headers['Location'], '/login')
@flaky
def test_simple_local_post(self):
'''
Test a basic API of /
@ -125,6 +126,7 @@ class TestSaltAPIHandler(_SaltnadoIntegrationTestCase):
response_obj = json_loads(response.body)
self.assertEqual(response_obj['return'], ["No minions matched the target. No command was sent, no jid was assigned."])
@flaky
def test_simple_local_post_only_dictionary_request(self):
'''
Test a basic API of /
@ -258,6 +260,7 @@ class TestSaltAPIHandler(_SaltnadoIntegrationTestCase):
response_obj = json_loads(response.body)
self.assertEqual(response_obj['return'], [{}])
@flaky
def test_simple_local_post_only_dictionary_request_with_order_masters(self):
'''
Test a basic API of /