Commit bbcbab07 authored by Jérome Perrin's avatar Jérome Perrin

tests/test_promise: use a larger timeout to prevent false positives

When test machine is busy it happens that running a simple promise takes more
than one second and this cause some test to error with "Promise timed out after
1 seconds" in cases where the promise is not supposed to have a timeout, it's
just that sometimes it takes more than the default timeout of 1 second.
parent 4709852e
......@@ -71,7 +71,7 @@ class TestSlapOSPromiseMixin(unittest.TestCase):
if sys.path[0] == self.plugin_dir:
del sys.path[0]
def configureLauncher(self, save_method=None, timeout=1, master_url="", debug=False,
def configureLauncher(self, save_method=None, timeout=5, master_url="", debug=False,
run_list=[], uid=None, gid=None, enable_anomaly=False, force=False,
logdir=True, dry_run=False):
parameter_dict = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment