Properly configure syndic in test case

Without this option we aren't really a syndic and it won't wait
This commit is contained in:
Thomas Jackson 2018-06-20 15:28:58 -07:00 committed by rallytime
parent d0a98534a9
commit c0180ff33d
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -266,6 +266,10 @@ class TestSaltAPIHandler(_SaltnadoIntegrationTestCase):
'tgt': '*',
'fun': 'test.ping',
}
self.application.opts['order_masters'] = True
self.application.opts['syndic_wait'] = 5
response = self.fetch('/',
method='POST',
body=salt.utils.json.dumps(low),