Decrease timeout to fit into "long", before this timeout wasn't passed anywhere, but now that it is it has to fit into a C long otherwise you get errors like:

"OverflowError: Python int too large to convert to C long"
This commit is contained in:
Thomas Jackson 2014-11-20 07:46:13 -08:00
parent 7e6078d569
commit c68066d60b

View file

@ -884,7 +884,7 @@ class TestDaemon(object):
jid_info = self.client.run_job(
list(targets), 'saltutil.sync_{0}'.format(modules_kind),
expr_form='list',
timeout=9999999999999999,
timeout=999999999999999,
)
if self.wait_for_jid(targets, jid_info['jid'], timeout) is False: