aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gce_setup/grpc_docker.sh14
-rwxr-xr-xtools/run_tests/run_tests.py4
-rw-r--r--tools/run_tests/tests.json2
-rwxr-xr-xtools/run_tests/watch_dirs.py1
4 files changed, 18 insertions, 3 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh
index d301cc43e1..476aa3c156 100755
--- a/tools/gce_setup/grpc_docker.sh
+++ b/tools/gce_setup/grpc_docker.sh
@@ -757,6 +757,20 @@ grpc_interop_gen_go_cmd() {
echo $the_cmd
}
+# constructs the full dockerized Go interop test cmd.
+#
+# call-seq:
+# flags= .... # generic flags to include the command
+# cmd=$($grpc_gen_test_cmd $flags)
+grpc_cloud_prod_gen_go_cmd() {
+ local cmd_prefix="sudo docker run grpc/go /bin/bash -c"
+ local test_script="cd /go/src/github.com/google/grpc-go/rpc/interop/client"
+ local test_script+=" && go run client.go --use_tls=true"
+ local gfe_flags=" --tls_ca_file=\"\" --tls_server_name=\"\" --server_port=443 --server_host=grpc-test.sandbox.google.com"
+ local the_cmd="$cmd_prefix '$test_script $gfe_flags $@'"
+ echo $the_cmd
+}
+
# constructs the full dockerized java interop test cmd.
#
# call-seq:
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index b7248e524b..a699399c27 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -19,7 +19,7 @@ class SimpleConfig(object):
def __init__(self, config):
self.build_config = config
- self.maxjobs = 32 * multiprocessing.cpu_count()
+ self.maxjobs = 2 * multiprocessing.cpu_count()
self.allow_hashing = (config != 'gcov')
def run_command(self, binary):
@@ -32,7 +32,7 @@ class ValgrindConfig(object):
def __init__(self, config, tool):
self.build_config = config
self.tool = tool
- self.maxjobs = 4 * multiprocessing.cpu_count()
+ self.maxjobs = 2 * multiprocessing.cpu_count()
self.allow_hashing = False
def run_command(self, binary):
diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json
index 90571eaec6..a610e92307 100644
--- a/tools/run_tests/tests.json
+++ b/tools/run_tests/tests.json
@@ -207,7 +207,7 @@
},
{
"language": "c",
- "name": "poll_kick_test"
+ "name": "poll_kick_posix_test"
},
{
"language": "c",
diff --git a/tools/run_tests/watch_dirs.py b/tools/run_tests/watch_dirs.py
index 9ef6924454..f83192e5f8 100755
--- a/tools/run_tests/watch_dirs.py
+++ b/tools/run_tests/watch_dirs.py
@@ -25,6 +25,7 @@ class DirWatcher(object):
continue
for root, _, files in os.walk(path):
for f in files:
+ if f and f[0] == '.': continue
try:
st = os.stat(os.path.join(root, f))
except OSError as e: