aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/server_chttp2_test.cc
diff options
context:
space:
mode:
authorGravatar kpayson64 <kpayson@google.com>2018-04-09 14:09:29 -0700
committerGravatar kpayson64 <kpayson@google.com>2018-04-09 14:09:29 -0700
commitc7c35c5cd7cd551b63b3ad37e80d1618f8b45a46 (patch)
treef2b4a72ba00c2ab2e4f18833316418eb7a388a53 /test/core/surface/server_chttp2_test.cc
parent09386db3939cae1ac12e5f09b735adfa8958c68e (diff)
Disable SO_REUSEPORT disabled test for uv tests
Diffstat (limited to 'test/core/surface/server_chttp2_test.cc')
-rw-r--r--test/core/surface/server_chttp2_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/core/surface/server_chttp2_test.cc b/test/core/surface/server_chttp2_test.cc
index f0412d01d9..fd8ab9cd3d 100644
--- a/test/core/surface/server_chttp2_test.cc
+++ b/test/core/surface/server_chttp2_test.cc
@@ -37,6 +37,8 @@ void test_unparsable_target(void) {
grpc_server_destroy(server);
}
+// GRPC_ARG_ALLOW_REUSEPORT isn't supported for custom servers
+#ifndef GRPC_UV
void test_add_same_port_twice() {
grpc_arg a;
a.type = GRPC_ARG_INTEGER;
@@ -62,12 +64,15 @@ void test_add_same_port_twice() {
grpc_server_destroy(server);
grpc_completion_queue_destroy(cq);
}
+#endif
int main(int argc, char** argv) {
grpc_test_init(argc, argv);
grpc_init();
test_unparsable_target();
+#ifndef GRPC_UV
test_add_same_port_twice();
+#endif
grpc_shutdown();
return 0;
}