diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-03-01 17:13:19 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-03-01 19:16:06 +0100 |
commit | b39c8d77a21dde257ff21dec7b298f90284abd73 (patch) | |
tree | 8b8170591fd34e3ed8c576706fddd0a31ac7167b /test | |
parent | a3146be55b08b0b582a2625e16c2fdc7d09c865a (diff) |
workaround for h2_http_proxy_nosec_test.exe shutdown_finishes_calls flake
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/tests/shutdown_finishes_calls.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/core/end2end/tests/shutdown_finishes_calls.cc b/test/core/end2end/tests/shutdown_finishes_calls.cc index 34c4ebbf0a..28728ef46c 100644 --- a/test/core/end2end/tests/shutdown_finishes_calls.cc +++ b/test/core/end2end/tests/shutdown_finishes_calls.cc @@ -150,6 +150,13 @@ static void test_early_server_shutdown_finishes_inflight_calls( nullptr); GPR_ASSERT(GRPC_CALL_OK == error); + /* Make sure we don't shutdown the server while HTTP/2 PING frames are still + * being exchanged on the newly established connection. It can lead to + * failures when testing with HTTP proxy. See + * https://github.com/grpc/grpc/issues/14471 + */ + gpr_sleep_until(n_seconds_from_now(1)); + /* shutdown and destroy the server */ grpc_server_shutdown_and_notify(f.server, f.cq, tag(1000)); grpc_server_cancel_all_calls(f.server); |