Skip to content

Commit

Permalink
Fixed not giving nodeos enough time to process priority queue before …
Browse files Browse the repository at this point in the history
…shutting down. GH EOSIO#6743
  • Loading branch information
brianjohnson5972 committed Feb 14, 2019
1 parent 4c766ae commit c6d796b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ def interruptAndVerifyExitStatus(self):
assert self.popenProc is not None, "node: \"%s\" does not have a popenProc, this may be because it is only set after a relaunch." % (self.cmd)
self.popenProc.send_signal(signal.SIGINT)
try:
outs, _ = self.popenProc.communicate(timeout=1)
outs, _ = self.popenProc.communicate(timeout=15)
assert self.popenProc.returncode == 0, "Expected terminating \"%s\" to have an exit status of 0, but got %d" % (self.cmd, self.popenProc.returncode)
except subprocess.TimeoutExpired:
Utils.errorExit("Terminate call failed on node: %s" % (self.cmd))
Expand Down

0 comments on commit c6d796b

Please sign in to comment.