diff options
author | Craig Tiller <ctiller@google.com> | 2017-04-27 08:40:53 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-04-27 08:40:53 -0700 |
commit | 1939744de5ac47225fa36586dff342b000d08ddc (patch) | |
tree | e381017793055214ebee5eb73aec5d13f8131848 /test/core/transport | |
parent | 0f4168aa3684c84317a283b9900d5fae56be4ae4 (diff) |
Fix test failure
Diffstat (limited to 'test/core/transport')
-rw-r--r-- | test/core/transport/bdp_estimator_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/transport/bdp_estimator_test.c b/test/core/transport/bdp_estimator_test.c index 122e097cc4..a6f1a55363 100644 --- a/test/core/transport/bdp_estimator_test.c +++ b/test/core/transport/bdp_estimator_test.c @@ -137,7 +137,7 @@ static void test_get_estimate_random_values(size_t n) { if (i >= 3) { gpr_log(GPR_DEBUG, "est:%" PRId64 " min:%d max:%d", get_estimate(&est), min, max); - GPR_ASSERT(get_estimate(&est) <= 2 * next_pow_2(max)); + GPR_ASSERT(get_estimate(&est) <= GPR_MAX(65536, 2 * next_pow_2(max))); } } } |