aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-11-10 09:55:51 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-11-10 09:55:51 -0800
commite77b3c36d1b3e2033abd19d553748b678c22253f (patch)
tree4bf7e9edd43d6f16fd0c5f17ce3309ec617b4ced /test
parent4782d92b2d4fab261b5520a29d79ba97fea9ce7b (diff)
parent8f1e27fa5851988ac1429e8d4544a1ec48038021 (diff)
Merge github.com:grpc/grpc into lfe3
Diffstat (limited to 'test')
-rw-r--r--test/core/support/cpu_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/support/cpu_test.cc b/test/core/support/cpu_test.cc
index a76531ead9..c69ce55a73 100644
--- a/test/core/support/cpu_test.cc
+++ b/test/core/support/cpu_test.cc
@@ -68,7 +68,7 @@ static void worker_thread(void* arg) {
unsigned i, j;
/* Avoid repetitive division calculations */
int64_t max_i = 1000 / grpc_test_slowdown_factor();
- int64_t max_j = 1000000 / grpc_test_slowdown_factor();
+ int64_t max_j = 1000 / grpc_test_slowdown_factor();
for (i = 0; i < max_i; i++) {
/* run for a bit - just calculate something random. */
for (j = 0; j < max_j; j++) {