From a4354b0185e6397a67a8519f87b71a8ff78aa9da Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Fri, 3 Feb 2017 14:27:17 -0800
Subject: [PATCH] Speed up bm_fullstack test

---
 build.yaml                                              | 2 ++
 templates/tools/run_tests/generated/tests.json.template | 2 +-
 tools/run_tests/generated/tests.json                    | 4 +++-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/build.yaml b/build.yaml
index 9851446e3e..5af1c69e46 100644
--- a/build.yaml
+++ b/build.yaml
@@ -2955,6 +2955,8 @@ targets:
   - grpc
   - gpr_test_util
   - gpr
+  args:
+  - --benchmark_min_time=0
   platforms:
   - mac
   - linux
diff --git a/templates/tools/run_tests/generated/tests.json.template b/templates/tools/run_tests/generated/tests.json.template
index 1e21465dd2..2815dbb9b3 100644
--- a/templates/tools/run_tests/generated/tests.json.template
+++ b/templates/tools/run_tests/generated/tests.json.template
@@ -11,7 +11,7 @@
                  "gtest": tgt.gtest,
                  "exclude_configs": tgt.get("exclude_configs", []),
                  "exclude_iomgrs": tgt.get("exclude_iomgrs", []),
-                 "args": [],
+                 "args": tgt.get("args", []),
                  "flaky": tgt.flaky,
                  "cpu_cost": tgt.get("cpu_cost", 1.0)}
                 for tgt in targets
diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json
index ab87d9d7b5..7704f7e2d2 100644
--- a/tools/run_tests/generated/tests.json
+++ b/tools/run_tests/generated/tests.json
@@ -2452,7 +2452,9 @@
     ]
   }, 
   {
-    "args": [], 
+    "args": [
+      "--benchmark_min_time=0"
+    ], 
     "ci_platforms": [
       "linux", 
       "mac", 
-- 
GitLab