Skip to content

Commit

Permalink
Increase waiting time in LLMQ signing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Jan 28, 2019
1 parent 886299a commit 08d915d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qa/rpc-tests/llmq-signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ def assert_sigs(hasrecsigs, isconflicting1, isconflicting2):
# Sign 5 shares, should not result in recovered sig
for i in range(5):
self.mninfo[i].node.quorum("sign", 100, id, msgHash)
sleep(2)
sleep(4)
assert_sigs(False, False, False)

# Sign one more share, should result in recovered sig and conflict for msgHashConflict
self.mninfo[6].node.quorum("sign", 100, id, msgHash)
sleep(2)
sleep(4)
assert_sigs(True, False, True)

# Mine one more quorum, so that we have 2 active ones, nothing should change
Expand All @@ -74,7 +74,7 @@ def assert_sigs(hasrecsigs, isconflicting1, isconflicting2):
self.mninfo[i].node.quorum("sign", 100, id, msgHashConflict)
for i in range(4, 10):
self.mninfo[i].node.quorum("sign", 100, id, msgHash)
sleep(2)
sleep(4)
assert_sigs(True, False, True)

if __name__ == '__main__':
Expand Down

0 comments on commit 08d915d

Please sign in to comment.