Loading tests/integration/forwarding/test_map.py +6 −5 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ def test_two_io_nodes_remap(gkfwd_daemon_factory, gkfwd_client_factory): lines = f.readlines() for line in lines: if 'Forward to' in line: if 'forwarding_mapper() Forward to' in line: ion = line.split()[-1] assert ion == '0' Loading @@ -191,11 +191,12 @@ def test_two_io_nodes_remap(gkfwd_daemon_factory, gkfwd_client_factory): assert ret.retval == len(buf) # Return the number of read bytes # log line should go to the end of the file with open(c00.log) as f: lines = f.readlines() ion = 0 for line in lines: if 'Forward to' in line: if 'forwarding_mapper() Forward to' in line: ion = line.split()[-1] assert ion == '1' Loading Loading
tests/integration/forwarding/test_map.py +6 −5 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ def test_two_io_nodes_remap(gkfwd_daemon_factory, gkfwd_client_factory): lines = f.readlines() for line in lines: if 'Forward to' in line: if 'forwarding_mapper() Forward to' in line: ion = line.split()[-1] assert ion == '0' Loading @@ -191,11 +191,12 @@ def test_two_io_nodes_remap(gkfwd_daemon_factory, gkfwd_client_factory): assert ret.retval == len(buf) # Return the number of read bytes # log line should go to the end of the file with open(c00.log) as f: lines = f.readlines() ion = 0 for line in lines: if 'Forward to' in line: if 'forwarding_mapper() Forward to' in line: ion = line.split()[-1] assert ion == '1' Loading