Merge pull request #55312 from dwoz/issue_54389

Add a timeout for netapi NetapiClientTest.test_local
This commit is contained in:
Daniel Wozniak 2019-11-17 17:57:10 -07:00 committed by GitHub
commit 0c0d99cd7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ class NetapiClientTest(TestCase):
del self.netapi
def test_local(self):
low = {'client': 'local', 'tgt': '*', 'fun': 'test.ping'}
low = {'client': 'local', 'tgt': '*', 'fun': 'test.ping', 'timeout': 300}
low.update(self.eauth_creds)
ret = self.netapi.run(low)