Merge pull request #48715 from rallytime/flaky-tests

[2017.7] Mark some tornado tests as flaky
This commit is contained in:
Mike Place 2018-07-23 11:27:12 -06:00 committed by GitHub
commit b2431eab10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 /