File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,16 @@ import (
32
32
33
33
// TestServerGRPCKeepAliveTimeout tests ServerParameters keepalive ping on server-side that
34
34
// after having pinged for keepalive check, the server waits for a duration of Timeout and
35
- // if no activity is seen even after that the connection is closed. The keepalive takes few
36
- // seconds to get in impact so typically the the time it takes to close the connection is
37
- // somewhat higher than specified Timeout value.
35
+ // if no activity is seen even after that the connection is closed on server-side . The keepalive
36
+ // takes few extra seconds to get in impact so typically the time it takes to close the connection
37
+ // is somewhat higher than specified Timeout value.
38
38
func TestServerGRPCKeepAliveTimeout (t * testing.T ) {
39
39
defer testutil .AfterTest (t )
40
40
41
41
clus := integration .NewClusterV3 (t , & integration.ClusterConfig {
42
42
Size : 2 ,
43
- GRPCKeepAliveInterval : time .Second ,
44
- GRPCKeepAliveTimeout : time .Second ,
43
+ GRPCKeepAliveInterval : 500 * time .Millisecond ,
44
+ GRPCKeepAliveTimeout : 500 * time .Millisecond ,
45
45
})
46
46
defer clus .Terminate (t )
47
47
You can’t perform that action at this time.
0 commit comments