test/syscall: run hostnet tests in separate network namespaces

A few tests use hard coded port numbers, so we need to guruantee that
these ports will not be used for somthing else.
This commit is contained in:
Andrei Vagin 2020-06-04 17:16:57 -07:00
parent d3a8bffe04
commit 9e66ac4c20
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ def _syscall_test(
# we figure out how to request ipv4 sockets on Guitar machines.
if network == "host":
tags.append("noguitar")
tags.append("block-network")
# Disable off-host networking.
tags.append("requires-net:loopback")