mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Increase waiting time in LLMQ signing tests
This commit is contained in:
parent
886299a400
commit
08d915dc2d
@ -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__':
|
||||||
|
Loading…
Reference in New Issue
Block a user