From ddfdc9827b6cecc8d2c9d8c9e9afb80d85597c44 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Tue, 22 Jun 2021 14:10:05 -0700 Subject: Remove timeouts These aren't useful and create opportunities for flakes. PiperOrigin-RevId: 380889223 --- test/packetimpact/testbench/testbench.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/packetimpact/testbench/testbench.go') diff --git a/test/packetimpact/testbench/testbench.go b/test/packetimpact/testbench/testbench.go index caa389780..38ae9c1d7 100644 --- a/test/packetimpact/testbench/testbench.go +++ b/test/packetimpact/testbench/testbench.go @@ -31,8 +31,6 @@ var ( Native = false // RPCKeepalive is the gRPC keepalive. RPCKeepalive = 10 * time.Second - // RPCTimeout is the gRPC timeout. - RPCTimeout = 100 * time.Millisecond // dutInfosJSON is the json string that describes information about all the // duts available to use. @@ -124,7 +122,6 @@ func (n *DUTTestNet) SubnetBroadcast() net.IP { // functions. func registerFlags(fs *flag.FlagSet) { fs.BoolVar(&Native, "native", Native, "whether the test is running natively") - fs.DurationVar(&RPCTimeout, "rpc_timeout", RPCTimeout, "gRPC timeout") fs.DurationVar(&RPCKeepalive, "rpc_keepalive", RPCKeepalive, "gRPC keepalive") fs.StringVar(&dutInfosJSON, "dut_infos_json", dutInfosJSON, "json that describes the DUTs") } -- cgit v1.2.3