Fix internal format issue

pull/16509/head
Juanli Shen 6 years ago
parent 5b3e6c2139
commit 9d143dd3b9
  1. 1
      test/cpp/qps/json_run_localhost_scenario_gen.py
  2. 2
      test/cpp/qps/json_run_localhost_scenarios.bzl
  3. 4
      test/cpp/qps/qps_benchmark_script.bzl
  4. 1
      test/cpp/qps/qps_json_driver_scenario_gen.py
  5. 2
      test/cpp/qps/qps_json_driver_scenarios.bzl

@ -33,6 +33,7 @@ def generate_args():
serialized_scenarios_str = str(all_scenarios).encode('ascii', 'ignore')
with open('json_run_localhost_scenarios.bzl', 'wb') as f:
f.write('"""Scenarios run on localhost."""\n\n')
f.write('JSON_RUN_LOCALHOST_SCENARIOS = ' + serialized_scenarios_str + '\n')
generate_args()

File diff suppressed because one or more lines are too long

@ -23,7 +23,9 @@
# each change must be ported from one to the other.
#
load("//bazel:grpc_build_system.bzl", "grpc_cc_binary", "grpc_cc_test")
"""Script to run qps benchmark."""
load("//bazel:grpc_build_system.bzl", "grpc_cc_test")
load("//test/cpp/qps:qps_json_driver_scenarios.bzl", "QPS_JSON_DRIVER_SCENARIOS")
load("//test/cpp/qps:json_run_localhost_scenarios.bzl", "JSON_RUN_LOCALHOST_SCENARIOS")

@ -33,6 +33,7 @@ def generate_args():
serialized_scenarios_str = str(all_scenarios).encode('ascii', 'ignore')
with open('qps_json_driver_scenarios.bzl', 'w') as f:
f.write('"""Scenarios of qps driver."""\n\n')
f.write('QPS_JSON_DRIVER_SCENARIOS = ' + serialized_scenarios_str + '\n')
generate_args()

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save