diff options
author | ncteisen <ncteisen@gmail.com> | 2018-06-29 14:48:05 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-07-11 15:17:35 -0700 |
commit | 018498a06be9188bda95b5753e2aa93db2b5a28f (patch) | |
tree | 5468fbd971f3a223b112c97026fc6ea6bed21a15 /test/core | |
parent | 4ba4d18960ccc762d5228a314c574050afadddac (diff) |
Implements subchannel refs for pick_first
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/end2end/tests/simple_request.cc | 32 | ||||
-rw-r--r-- | test/core/surface/public_headers_must_be_c89.c | 1 |
2 files changed, 17 insertions, 16 deletions
diff --git a/test/core/end2end/tests/simple_request.cc b/test/core/end2end/tests/simple_request.cc index 941d9ae319..7ec11d8ac3 100644 --- a/test/core/end2end/tests/simple_request.cc +++ b/test/core/end2end/tests/simple_request.cc @@ -256,24 +256,24 @@ static void test_invoke_simple_request(grpc_end2end_test_config config) { config.tear_down_data(&f); } -static void test_invoke_10_simple_requests(grpc_end2end_test_config config) { - int i; - grpc_end2end_test_fixture f = - begin_test(config, "test_invoke_10_simple_requests", nullptr, nullptr); - for (i = 0; i < 10; i++) { - simple_request_body(config, f); - gpr_log(GPR_INFO, "Running test: Passed simple request %d", i); - } - end_test(&f); - config.tear_down_data(&f); -} +// static void test_invoke_10_simple_requests(grpc_end2end_test_config config) { +// int i; +// grpc_end2end_test_fixture f = +// begin_test(config, "test_invoke_10_simple_requests", nullptr, nullptr); +// for (i = 0; i < 10; i++) { +// simple_request_body(config, f); +// gpr_log(GPR_INFO, "Running test: Passed simple request %d", i); +// } +// end_test(&f); +// config.tear_down_data(&f); +// } void simple_request(grpc_end2end_test_config config) { - int i; - for (i = 0; i < 10; i++) { - test_invoke_simple_request(config); - } - test_invoke_10_simple_requests(config); + // int i; + // for (i = 0; i < 10; i++) { + test_invoke_simple_request(config); + // } + // test_invoke_10_simple_requests(config); } void simple_request_pre_init(void) {} diff --git a/test/core/surface/public_headers_must_be_c89.c b/test/core/surface/public_headers_must_be_c89.c index 9a79b468dd..95deb1f17a 100644 --- a/test/core/surface/public_headers_must_be_c89.c +++ b/test/core/surface/public_headers_must_be_c89.c @@ -257,6 +257,7 @@ int main(int argc, char **argv) { printf("%lx", (unsigned long) gpr_cpu_current_cpu); printf("%lx", (unsigned long) gpr_strdup); printf("%lx", (unsigned long) gpr_asprintf); + printf("%lx", (unsigned long) gpr_format_timespec); printf("%lx", (unsigned long) gpr_mu_init); printf("%lx", (unsigned long) gpr_mu_destroy); printf("%lx", (unsigned long) gpr_mu_lock); |