summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/tests
diff options
context:
space:
mode:
authorZeling Feng <zeling@google.com>2021-02-09 19:30:17 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-09 19:32:47 -0800
commit2de36e44ed753c4cef2f9d71499fad6d87cb8b86 (patch)
treec31e9f21254d005988fa83a0e0c684efbc9d1ab4 /test/packetimpact/tests
parentf6de413c398231cb392bccda3807897703653ab5 (diff)
Make RPCTimeout for udp_send_recv_dgram to be 500 milliseconds.
The test will sometimes fail on Bind calls using the old RPCTimeout. PiperOrigin-RevId: 356646668
Diffstat (limited to 'test/packetimpact/tests')
-rw-r--r--test/packetimpact/tests/udp_send_recv_dgram_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/packetimpact/tests/udp_send_recv_dgram_test.go b/test/packetimpact/tests/udp_send_recv_dgram_test.go
index 6e45cb143..894d156cf 100644
--- a/test/packetimpact/tests/udp_send_recv_dgram_test.go
+++ b/test/packetimpact/tests/udp_send_recv_dgram_test.go
@@ -32,6 +32,7 @@ import (
func init() {
testbench.Initialize(flag.CommandLine)
+ testbench.RPCTimeout = 500 * time.Millisecond
}
type udpConn interface {