diff options
author | 2017-10-09 08:28:30 -0700 | |
---|---|---|
committer | 2017-10-09 08:28:30 -0700 | |
commit | 4a82f0dab5c780c64ba43eb5c50ddb4ff47b5e25 (patch) | |
tree | 3f497e7136ecb987999c26cdea8339b2c6007709 /test/core/transport | |
parent | d94c9f263e43f914e0389022938ca193305e4dcc (diff) |
Fix test
Diffstat (limited to 'test/core/transport')
-rw-r--r-- | test/core/transport/bdp_estimator_test.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/core/transport/bdp_estimator_test.cc b/test/core/transport/bdp_estimator_test.cc index bfa77217c3..56907b4e6a 100644 --- a/test/core/transport/bdp_estimator_test.cc +++ b/test/core/transport/bdp_estimator_test.cc @@ -58,12 +58,10 @@ void AddSamples(BdpEstimator *estimator, int64_t *samples, size_t n) { estimator->AddIncomingBytes(1234567); inc_time(); grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - EXPECT_TRUE(estimator->NeedPing(&exec_ctx)); estimator->SchedulePing(); estimator->StartPing(); for (size_t i = 0; i < n; i++) { estimator->AddIncomingBytes(samples[i]); - EXPECT_FALSE(estimator->NeedPing(&exec_ctx)); } gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), gpr_time_from_millis(1, GPR_TIMESPAN))); |