diff options
Diffstat (limited to 'test/core/debug')
-rw-r--r-- | test/core/debug/stats_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/debug/stats_test.cc b/test/core/debug/stats_test.cc index 82ed27cb13..bda580f7ca 100644 --- a/test/core/debug/stats_test.cc +++ b/test/core/debug/stats_test.cc @@ -70,7 +70,7 @@ static int FindExpectedBucket(int i, int j) { return 0; } if (j >= - grpc_stats_histo_bucket_boundaries[i][grpc_stats_histo_buckets[i] - 1]) { + grpc_stats_histo_bucket_boundaries[i][grpc_stats_histo_buckets[i]]) { return grpc_stats_histo_buckets[i] - 1; } return std::upper_bound(grpc_stats_histo_bucket_boundaries[i], |