From 1e5b0a973293d9a6bf7b60349763ee3e71343dea Mon Sep 17 00:00:00 2001 From: Ting-Yu Wang Date: Mon, 6 Jul 2020 12:09:03 -0700 Subject: Shard some slow tests. stack_x_test: 2m -> 20s tcp_x_test: 80s -> 25s PiperOrigin-RevId: 319828101 --- pkg/tcpip/stack/BUILD | 1 + pkg/tcpip/transport/tcp/BUILD | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/tcpip/stack/BUILD b/pkg/tcpip/stack/BUILD index 794ddb5c8..e65c731c2 100644 --- a/pkg/tcpip/stack/BUILD +++ b/pkg/tcpip/stack/BUILD @@ -79,6 +79,7 @@ go_test( "transport_demuxer_test.go", "transport_test.go", ], + shard_count = 20, deps = [ ":stack", "//pkg/rand", diff --git a/pkg/tcpip/transport/tcp/BUILD b/pkg/tcpip/transport/tcp/BUILD index 6baeda8e4..18ff89ffc 100644 --- a/pkg/tcpip/transport/tcp/BUILD +++ b/pkg/tcpip/transport/tcp/BUILD @@ -86,6 +86,7 @@ go_test( "tcp_test.go", "tcp_timestamp_test.go", ], + shard_count = 10, deps = [ ":tcp", "//pkg/sync", -- cgit v1.2.3