Functions | |
| def | _mutate_scenario (scenario_json) |
| def | generate_json_run_localhost_scenarios () |
| def | generate_qps_json_driver_scenarios () |
| def | generate_scenarios_bzl (json_scenarios, bzl_filename, bzl_variablename) |
Variables | |
| string | _COPYRIGHT |
| run_tests_root | |
|
private |
Modifies vanilla benchmark scenario config to make it more suitable for running as a unit test.
Definition at line 47 of file scenario_generator_helper.py.
| def scenario_generator_helper.generate_json_run_localhost_scenarios | ( | ) |
Definition at line 77 of file scenario_generator_helper.py.
| def scenario_generator_helper.generate_qps_json_driver_scenarios | ( | ) |
Definition at line 85 of file scenario_generator_helper.py.
| def scenario_generator_helper.generate_scenarios_bzl | ( | json_scenarios, | |
| bzl_filename, | |||
| bzl_variablename | |||
| ) |
Generate .bzl file that defines a variable with JSON scenario configs.
Definition at line 93 of file scenario_generator_helper.py.
|
private |
Definition at line 31 of file scenario_generator_helper.py.
| scenario_generator_helper.run_tests_root |
Definition at line 25 of file scenario_generator_helper.py.