aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar ctiller <ctiller@google.com>2014-12-09 15:45:55 -0800
committerGravatar Michael Lumish <mlumish@google.com>2014-12-09 17:47:34 -0800
commit1ef8175bc5e300538a248aef88f4ed9ca033cdf1 (patch)
treec2ec5971eebd10e3ef52c0c084c797b8d06bb267 /test
parent84518b4b853316fb5a9a63e6d89961da55d8b325 (diff)
Automated g4 rollback of changelist 81719124.
*** Reason for rollback *** Breaks interop tests *** Original change description *** Advertise h2-16, h2-15, h2-14, and accept any of them. *** Change on 2014/12/09 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81723283
Diffstat (limited to 'test')
-rw-r--r--test/core/transport/chttp2/alpn_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/transport/chttp2/alpn_test.c b/test/core/transport/chttp2/alpn_test.c
index 7a70b0ca7f..65b7af8683 100644
--- a/test/core/transport/chttp2/alpn_test.c
+++ b/test/core/transport/chttp2/alpn_test.c
@@ -37,7 +37,8 @@
#include "test/core/util/test_config.h"
static void test_alpn_success(void) {
- GPR_ASSERT(grpc_chttp2_is_alpn_version_supported("h2-16", 5));
+ const char *version = GRPC_CHTTP2_ALPN_VERSION;
+ GPR_ASSERT(grpc_chttp2_is_alpn_version_supported(version, strlen(version)));
GPR_ASSERT(grpc_chttp2_is_alpn_version_supported("h2-15", 5));
GPR_ASSERT(grpc_chttp2_is_alpn_version_supported("h2-14", 5));
}