Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/p2p/test_sync_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
class BaseRandomSimulatorTestCase(SimulatorTestCase):
__test__ = True

seed_config = 2

def _get_partial_blocks(self, tx_storage):
with tx_storage.allow_partially_validated_context():
partial_blocks = set()
Expand Down
4 changes: 4 additions & 0 deletions tests/simulation/test_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,15 @@ class SyncV1RandomSimulatorTestCase(unittest.SyncV1Params, BaseRandomSimulatorTe
class SyncV2RandomSimulatorTestCase(unittest.SyncV2Params, BaseRandomSimulatorTestCase):
__test__ = True

seed_config = 3


# sync-bridge should behave like sync-v2
class SyncBridgeRandomSimulatorTestCase(unittest.SyncBridgeParams, SyncV2RandomSimulatorTestCase):
__test__ = True

seed_config = 4

def test_compare_mempool_implementations(self):
manager1 = self.create_peer()
manager2 = self.create_peer()
Expand Down