Completely disable InstantSend while filling mempool in autoix-mempool.py

Otherwise we overload Travis and tests start to randomly fail.
This commit is contained in:
Alexander Block 2019-03-05 17:35:18 +01:00
parent fae33e03ae
commit 4d3365ddb2

View File

@ -161,8 +161,12 @@ class AutoIXMempoolTest(DashTestFramework):
# fill mempool with transactions # fill mempool with transactions
self.set_autoix_spork_state(False) self.set_autoix_spork_state(False)
self.nodes[0].spork("SPORK_2_INSTANTSEND_ENABLED", 4070908800)
self.wait_for_sporks_same()
self.fill_mempool() self.fill_mempool()
self.set_autoix_spork_state(True) self.set_autoix_spork_state(True)
self.nodes[0].spork("SPORK_2_INSTANTSEND_ENABLED", 0)
self.wait_for_sporks_same()
# autoIX is not working now # autoIX is not working now
assert(not self.send_simple_tx(sender, receiver)) assert(not self.send_simple_tx(sender, receiver))