Yield sanitizer as well.
This commit is contained in:
parent
a9445fb8d1
commit
03e0788e82
|
@ -490,6 +490,6 @@ async def setup_full_system(dic={}):
|
|||
PeerInfo("127.0.0.1", uint16(node2_server._port))
|
||||
)
|
||||
|
||||
yield (node1, node2, harvester, farmer, introducer, timelord, vdf)
|
||||
yield (node1, node2, harvester, farmer, introducer, timelord, vdf, sanitizer, vdf_sanitizer)
|
||||
|
||||
await _teardown_nodes(node_iters)
|
||||
|
|
|
@ -30,7 +30,7 @@ class TestSimulation:
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_simulation_1(self, simulation):
|
||||
node1, node2, _, _, _, _, _ = simulation
|
||||
node1, node2, _, _, _, _, _, _, _ = simulation
|
||||
start = time.time()
|
||||
# Use node2 to test node communication, since only node1 extends the chain.
|
||||
while time.time() - start < 500:
|
||||
|
|
Loading…
Reference in New Issue