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
This commit is contained in:
Tamir Duberstein 2021-09-22 17:31:50 -07:00 committed by gVisor bot
parent 6b7f58b2ac
commit cea0a1aa75
2 changed files with 3 additions and 12 deletions

View File

@ -80,9 +80,10 @@ go_library(
go_test( go_test(
name = "tcp_x_test", name = "tcp_x_test",
size = "medium", size = "large",
srcs = [ srcs = [
"dual_stack_test.go", "dual_stack_test.go",
"rcv_test.go",
"sack_scoreboard_test.go", "sack_scoreboard_test.go",
"tcp_noracedetector_test.go", "tcp_noracedetector_test.go",
"tcp_rack_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( go_test(
name = "tcp_test", name = "tcp_test",
size = "small", size = "small",

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package rcv_test package tcp_test
import ( import (
"testing" "testing"