diff options
author | Etienne Perot <eperot@google.com> | 2021-06-22 17:51:10 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-22 17:53:37 -0700 |
commit | 62efdf29d8231324b4004ded1ec8b978284f6f90 (patch) | |
tree | 2a7c0e902f0cca257737e4afd2600b5aff19c00b /test/syscalls/BUILD | |
parent | e1dc1c78e7a523fc64ca28bed60a9a40ea1de46a (diff) |
`socket_inet_loopback`: Split off tests that need isolation in their own file.
This allows these tests, which can cause flakiness when run in the same network
namespace as the other `socket_inet_loopback` tests, to run as separate tests
in their own environment. It also means that all of the shards of those tests
can be more isolated from each other as well.
PiperOrigin-RevId: 380930198
Diffstat (limited to 'test/syscalls/BUILD')
-rw-r--r-- | test/syscalls/BUILD | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD index 99743b14a..8fc96d7ba 100644 --- a/test/syscalls/BUILD +++ b/test/syscalls/BUILD @@ -648,6 +648,12 @@ syscall_test( syscall_test( size = "large", shard_count = most_shards, + test = "//test/syscalls/linux:socket_inet_loopback_isolated_test", +) + +syscall_test( + size = "large", + shard_count = most_shards, # Takes too long for TSAN. Creates a lot of TCP sockets. tags = ["nogotsan"], test = "//test/syscalls/linux:socket_inet_loopback_nogotsan_test", |