diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-01-10 14:30:33 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-10 14:32:17 -0800 |
commit | bcedf6a8e48b958e39ad7a7dba908354620a0d09 (patch) | |
tree | ca23cf2772150a31bc40412fef6ce8ebaa49d840 | |
parent | 6b83111499e9a8f42b6aa3998839922ba70eefdc (diff) |
Put CancellableTimer tests in the tcpip_test package
CancellableTimer tests were in a timer_test package but lived within the
tcpip directory. This caused issues with go tools.
PiperOrigin-RevId: 289166345
-rw-r--r-- | pkg/tcpip/BUILD | 2 | ||||
-rw-r--r-- | pkg/tcpip/timer_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/BUILD b/pkg/tcpip/BUILD index db06d02c6..ebc8d0209 100644 --- a/pkg/tcpip/BUILD +++ b/pkg/tcpip/BUILD @@ -30,7 +30,7 @@ go_test( ) go_test( - name = "timer_test", + name = "tcpip_x_test", size = "small", srcs = ["timer_test.go"], deps = [":tcpip"], diff --git a/pkg/tcpip/timer_test.go b/pkg/tcpip/timer_test.go index 1f735d735..2d20f7ef3 100644 --- a/pkg/tcpip/timer_test.go +++ b/pkg/tcpip/timer_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package timer_test +package tcpip_test import ( "sync" |