aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-07-07 13:10:09 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-07-07 13:10:09 -0700
commitfbf03c17355e65255862e91a938f4f5cfbcee51a (patch)
tree035061f5ba9cbc429ee1b28d7a95f32872a01387 /test
parent8e8027bad6c4b4720a27e29178a1431fc069f86a (diff)
Fix high seqno tests, up runtimes for benchmark tests to flush more bugs
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/tests/high_initial_seqno.c6
-rwxr-xr-xtest/cpp/qps/gen_build_yaml.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/test/core/end2end/tests/high_initial_seqno.c b/test/core/end2end/tests/high_initial_seqno.c
index 50e3c9cb89..db45f5eb5a 100644
--- a/test/core/end2end/tests/high_initial_seqno.c
+++ b/test/core/end2end/tests/high_initial_seqno.c
@@ -203,6 +203,12 @@ static void simple_request_body(grpc_end2end_test_fixture f) {
grpc_call_destroy(c);
grpc_call_destroy(s);
+ /* TODO(ctiller): this rate limits the test, and it should be removed when
+ retry has been implemented; until then cross-thread chatter
+ may result in some requests needing to be cancelled due to
+ seqno exhaustion. */
+ cq_verify_empty(cqv);
+
cq_verifier_destroy(cqv);
}
diff --git a/test/cpp/qps/gen_build_yaml.py b/test/cpp/qps/gen_build_yaml.py
index 34b8151441..255968256e 100755
--- a/test/cpp/qps/gen_build_yaml.py
+++ b/test/cpp/qps/gen_build_yaml.py
@@ -46,7 +46,7 @@ import performance.scenario_config as scenario_config
def _scenario_json_string(scenario_json):
# tweak parameters to get fast test times
scenario_json['warmup_seconds'] = 1
- scenario_json['benchmark_seconds'] = 1
+ scenario_json['benchmark_seconds'] = 10
return json.dumps(scenario_config.remove_nonproto_fields(scenario_json))
def threads_of_type(scenario_json, path):