Reduce keepalive time period for test (#30162)

* Reduce keepalive time period for test

* Make the timeout 100ms
pull/30168/head
Yash Tibrewal 2 years ago committed by GitHub
parent 46bd0be2c9
commit 0ec9ca254e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/end2end/tests/keepalive_timeout.cc

@ -105,7 +105,7 @@ static void test_keepalive_timeout(grpc_end2end_test_config config) {
grpc_arg keepalive_arg_elems[3];
keepalive_arg_elems[0].type = GRPC_ARG_INTEGER;
keepalive_arg_elems[0].key = const_cast<char*>(GRPC_ARG_KEEPALIVE_TIME_MS);
keepalive_arg_elems[0].value.integer = 3500;
keepalive_arg_elems[0].value.integer = 100;
keepalive_arg_elems[1].type = GRPC_ARG_INTEGER;
keepalive_arg_elems[1].key = const_cast<char*>(GRPC_ARG_KEEPALIVE_TIMEOUT_MS);
keepalive_arg_elems[1].value.integer = 0;

Loading…
Cancel
Save