From 2de36e44ed753c4cef2f9d71499fad6d87cb8b86 Mon Sep 17 00:00:00 2001 From: Zeling Feng Date: Tue, 9 Feb 2021 19:30:17 -0800 Subject: [PATCH] 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 --- test/packetimpact/tests/udp_send_recv_dgram_test.go | 1 + 1 file changed, 1 insertion(+) 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 {