Skip to content

Commit

Permalink
Reduce the default safe open interval for ssh transport
Browse files Browse the repository at this point in the history
For some as of yet unknown reason, having the interval for ssh at 30
will fail the daemon tests on Travis, but only for SqlA. The last
job calculation that gets submitted is properly finished, just like
all the other ones, except that its process state attribute is not
updated to be Finished, but rather is stuck in Waiting. This means
that the conditional for all calculations being Terminated is not
satisified (even though all job calculation are FINISHED) and the test
simply times out.
  • Loading branch information
sphuber committed Feb 21, 2018
1 parent 59e3d78 commit 0e3c7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida/transport/plugins/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def __init__(self, machine, **kwargs):
",".join(str(k) for k in kwargs)))

def get_safe_open_interval(self):
return 30.
return 5.

def open(self):
"""
Expand Down

0 comments on commit 0e3c7b5

Please sign in to comment.