[max connection age] fix flakes (#29823)

* fix flakes

* bah
pull/29825/head
Craig Tiller 3 years ago committed by GitHub
parent c0a8f5c98c
commit 59ea410d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/end2end/tests/max_connection_age.cc
  2. 2
      test/core/end2end/tests/max_connection_idle.cc

@ -32,7 +32,7 @@
#define MAX_CONNECTION_IDLE_MS 9999
#define MAX_CONNECTION_AGE_JITTER_MULTIPLIER 1.1
#define CALL_DEADLINE_S 10
#define CALL_DEADLINE_S 30
/* The amount of time we wait for the connection to time out, but after it the
connection should not use up its grace period. It should be a number between
MAX_CONNECTION_AGE_MS and MAX_CONNECTION_AGE_MS +

@ -58,7 +58,7 @@ static void simple_request_body(grpc_end2end_test_config /*config*/,
int was_cancelled = 2;
char* peer;
gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5);
gpr_timespec deadline = grpc_timeout_seconds_to_deadline(30);
c = grpc_channel_create_call(f->client, nullptr, GRPC_PROPAGATE_DEFAULTS,
f->cq, grpc_slice_from_static_string("/foo"),
nullptr, deadline, nullptr);

Loading…
Cancel
Save