Perform less instant send tests in DIP3 tests (#2499)

These take quite some time on Travis.
This commit is contained in:
Alexander Block 2018-11-26 14:23:46 +01:00 committed by UdjinM6
parent 80656038fa
commit 7a709b81d8

View File

@ -214,7 +214,7 @@ class DIP3Test(BitcoinTestFramework):
self.test_mn_votes(10, test_enforcement=True) self.test_mn_votes(10, test_enforcement=True)
print("testing instant send (with mixed ProTx and legacy nodes)") print("testing instant send (with mixed ProTx and legacy nodes)")
self.test_instantsend(10, 5) self.test_instantsend(10, 3)
# We still need to restart them as otherwise they won't have the BLS operator key loaded # We still need to restart them as otherwise they won't have the BLS operator key loaded
print("restart upgraded nodes which refer to old collaterals") print("restart upgraded nodes which refer to old collaterals")
@ -298,7 +298,7 @@ class DIP3Test(BitcoinTestFramework):
self.sync_all() self.sync_all()
print("testing instant send with deterministic MNs") print("testing instant send with deterministic MNs")
self.test_instantsend(20, 5) self.test_instantsend(10, 5)
print("testing ProUpServTx") print("testing ProUpServTx")
for mn in mns_protx: for mn in mns_protx:
@ -339,7 +339,7 @@ class DIP3Test(BitcoinTestFramework):
self.sync_all() self.sync_all()
print("testing instant send with replaced MNs") print("testing instant send with replaced MNs")
self.test_instantsend(20, 5) self.test_instantsend(10, 3)
def create_mn(self, node, idx, alias): def create_mn(self, node, idx, alias):
mn = Masternode() mn = Masternode()