diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-02-17 12:53:05 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-17 12:54:55 -0800 |
commit | d8590f6337525416783ee859b6e59ecf17f94066 (patch) | |
tree | 9a9849ecc79e5c70ab052e976978d04bae299f71 /pkg/tcpip/tests/utils/BUILD | |
parent | 2f35fa14abe546b58c72312fbd23ad3f0b7a193f (diff) |
[infra] Split tcpip/integration test targets to aid investigation.
tcpip integration tests have been flaky lately. They usually run in 20 seconds
and have a 60 seconds timeout. Sometimes they timeout which could be due to
a bug or deadlock. To further investigate it might be helpful to split the
targets and see which test is causing the flake.
Added a new tcpip/tests/utils package to hold all common utilities across all
tests.
PiperOrigin-RevId: 358012936
Diffstat (limited to 'pkg/tcpip/tests/utils/BUILD')
-rw-r--r-- | pkg/tcpip/tests/utils/BUILD | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkg/tcpip/tests/utils/BUILD b/pkg/tcpip/tests/utils/BUILD new file mode 100644 index 000000000..433004148 --- /dev/null +++ b/pkg/tcpip/tests/utils/BUILD @@ -0,0 +1,19 @@ +load("//tools:defs.bzl", "go_library") + +package(licenses = ["notice"]) + +go_library( + name = "utils", + srcs = ["utils.go"], + visibility = ["//pkg/tcpip/tests:__subpackages__"], + deps = [ + "//pkg/tcpip", + "//pkg/tcpip/header", + "//pkg/tcpip/link/ethernet", + "//pkg/tcpip/link/nested", + "//pkg/tcpip/link/pipe", + "//pkg/tcpip/network/ipv4", + "//pkg/tcpip/network/ipv6", + "//pkg/tcpip/stack", + ], +) |