From cea0a1aa7537f1a2db96be5cddd02dfc73675d59 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 22 Sep 2021 17:31:50 -0700 Subject: Fold rcv_test into tcp_test This prevents go module errors of the form found packages tcp (accept.go) and rcv (rcv_test.go) in ... PiperOrigin-RevId: 398370042 --- pkg/tcpip/transport/tcp/BUILD | 13 ++----------- pkg/tcpip/transport/tcp/rcv_test.go | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'pkg') diff --git a/pkg/tcpip/transport/tcp/BUILD b/pkg/tcpip/transport/tcp/BUILD index 5148fe157..20958d882 100644 --- a/pkg/tcpip/transport/tcp/BUILD +++ b/pkg/tcpip/transport/tcp/BUILD @@ -80,9 +80,10 @@ go_library( go_test( name = "tcp_x_test", - size = "medium", + size = "large", srcs = [ "dual_stack_test.go", + "rcv_test.go", "sack_scoreboard_test.go", "tcp_noracedetector_test.go", "tcp_rack_test.go", @@ -113,16 +114,6 @@ go_test( ], ) -go_test( - name = "rcv_test", - size = "small", - srcs = ["rcv_test.go"], - deps = [ - "//pkg/tcpip/header", - "//pkg/tcpip/seqnum", - ], -) - go_test( name = "tcp_test", size = "small", diff --git a/pkg/tcpip/transport/tcp/rcv_test.go b/pkg/tcpip/transport/tcp/rcv_test.go index 8a026ec46..e47a07030 100644 --- a/pkg/tcpip/transport/tcp/rcv_test.go +++ b/pkg/tcpip/transport/tcp/rcv_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package rcv_test +package tcp_test import ( "testing" -- cgit v1.2.3