Yield sanitizer as well.

This commit is contained in:
fchirica 2020-06-11 23:08:30 +03:00 committed by Gene Hoffman
parent a9445fb8d1
commit 03e0788e82
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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: