We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d36dd7 + a2a3484 commit e8340ecCopy full SHA for e8340ec
tests/integration_tests/functional/test_net.py
@@ -115,9 +115,8 @@ def test_tap_offload(uvm_any):
115
)
116
117
# Try to send a UDP message from host with UDP offload enabled
118
- cmd = f"ip netns exec {vm.ssh.netns} python3 ./host_tools/udp_offload.py {vm.ssh.host} {port}"
119
- utils.check_output(cmd)
+ vm.netns.check_output(f"python3 ./host_tools/udp_offload.py {vm.ssh.host} {port}")
120
121
# Check that the server received the message
122
- ret = vm.ssh.run(f"cat {out_filename}")
+ ret = vm.ssh.run(f"sync ; cat {out_filename}")
123
assert ret.stdout == message, f"{ret.stdout=} {ret.stderr=}"
0 commit comments