From 63d11752b7017d7fd677435d3e92a1a88d768aac Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Tue, 3 May 2016 12:33:33 -0700
Subject: [PATCH] Update costs

---
 build.yaml                     | 3 ++-
 test/core/support/mpscq_test.c | 2 +-
 tools/run_tests/tests.json     | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/build.yaml b/build.yaml
index 9cacc0e776..cb98a0ef77 100644
--- a/build.yaml
+++ b/build.yaml
@@ -1142,6 +1142,7 @@ targets:
   dict: test/core/end2end/fuzzers/api_fuzzer.dictionary
   maxlen: 2048
 - name: async_execution_lock_test
+  cpu_cost: 30
   build: test
   language: c
   src:
@@ -1481,7 +1482,7 @@ targets:
   - gpr_test_util
   - gpr
 - name: gpr_mpscq_test
-  cpu_cost: 10
+  cpu_cost: 30
   build: test
   language: c
   src:
diff --git a/test/core/support/mpscq_test.c b/test/core/support/mpscq_test.c
index 393949dc52..4357a7c353 100644
--- a/test/core/support/mpscq_test.c
+++ b/test/core/support/mpscq_test.c
@@ -74,7 +74,7 @@ typedef struct {
   gpr_mpscq *q;
 } thd_args;
 
-#define THREAD_ITERATIONS 1000000
+#define THREAD_ITERATIONS 100000
 
 static void test_thread(void *args) {
   thd_args *a = args;
diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json
index fcf03a4eca..75a199cfde 100644
--- a/tools/run_tests/tests.json
+++ b/tools/run_tests/tests.json
@@ -93,7 +93,7 @@
       "posix", 
       "windows"
     ], 
-    "cpu_cost": 1.0, 
+    "cpu_cost": 30, 
     "exclude_configs": [], 
     "flaky": false, 
     "gtest": false, 
@@ -669,7 +669,7 @@
       "posix", 
       "windows"
     ], 
-    "cpu_cost": 10, 
+    "cpu_cost": 30, 
     "exclude_configs": [], 
     "flaky": false, 
     "gtest": false, 
-- 
GitLab