diff options
author | Zeling Feng <zeling@google.com> | 2021-02-09 19:30:17 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-09 19:32:47 -0800 |
commit | 2de36e44ed753c4cef2f9d71499fad6d87cb8b86 (patch) | |
tree | c31e9f21254d005988fa83a0e0c684efbc9d1ab4 /test/packetimpact/tests | |
parent | f6de413c398231cb392bccda3807897703653ab5 (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.go | 1 |
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 { |