Increase waiting time in LLMQ signing tests

This commit is contained in:
Alexander Block 2019-01-25 07:28:15 +01:00
parent 886299a400
commit 08d915dc2d

View File

@ -42,12 +42,12 @@ class LLMQSigningTest(DashTestFramework):
# Sign 5 shares, should not result in recovered sig # Sign 5 shares, should not result in recovered sig
for i in range(5): for i in range(5):
self.mninfo[i].node.quorum("sign", 100, id, msgHash) self.mninfo[i].node.quorum("sign", 100, id, msgHash)
sleep(2) sleep(4)
assert_sigs(False, False, False) assert_sigs(False, False, False)
# Sign one more share, should result in recovered sig and conflict for msgHashConflict # Sign one more share, should result in recovered sig and conflict for msgHashConflict
self.mninfo[6].node.quorum("sign", 100, id, msgHash) self.mninfo[6].node.quorum("sign", 100, id, msgHash)
sleep(2) sleep(4)
assert_sigs(True, False, True) assert_sigs(True, False, True)
# Mine one more quorum, so that we have 2 active ones, nothing should change # Mine one more quorum, so that we have 2 active ones, nothing should change
@ -74,7 +74,7 @@ class LLMQSigningTest(DashTestFramework):
self.mninfo[i].node.quorum("sign", 100, id, msgHashConflict) self.mninfo[i].node.quorum("sign", 100, id, msgHashConflict)
for i in range(4, 10): for i in range(4, 10):
self.mninfo[i].node.quorum("sign", 100, id, msgHash) self.mninfo[i].node.quorum("sign", 100, id, msgHash)
sleep(2) sleep(4)
assert_sigs(True, False, True) assert_sigs(True, False, True)
if __name__ == '__main__': if __name__ == '__main__':