aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-03 14:30:03 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-04-03 14:30:03 -0700
commit3be7dd0e793799b6a3e22e245230789dc80aa853 (patch)
tree32eac57c0ebb6d398e2aa40d96581de62de39738 /test/core/channel
parentaf76743e33891f269ff2404ba8a631a97f6b50c0 (diff)
Optionalize deadline checking
Diffstat (limited to 'test/core/channel')
-rw-r--r--test/core/channel/minimal_stack_is_minimal_test.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/core/channel/minimal_stack_is_minimal_test.c b/test/core/channel/minimal_stack_is_minimal_test.c
index f7bdc1b843..b76e812a61 100644
--- a/test/core/channel/minimal_stack_is_minimal_test.c
+++ b/test/core/channel/minimal_stack_is_minimal_test.c
@@ -77,20 +77,20 @@ int main(int argc, char **argv) {
"client-channel", NULL);
// tests with a default stack
- errors += CHECK_STACK("unknown", NULL, GRPC_CLIENT_DIRECT_CHANNEL, "deadline",
- "message_size", "connected", NULL);
+ errors += CHECK_STACK("unknown", NULL, GRPC_CLIENT_DIRECT_CHANNEL,
+ "message_size", "deadline", "connected", NULL);
errors += CHECK_STACK("unknown", NULL, GRPC_CLIENT_SUBCHANNEL, "message_size",
"connected", NULL);
errors += CHECK_STACK("unknown", NULL, GRPC_SERVER_CHANNEL, "server",
- "deadline", "message_size", "connected", NULL);
+ "message_size", "deadline", "connected", NULL);
errors +=
- CHECK_STACK("chttp2", NULL, GRPC_CLIENT_DIRECT_CHANNEL, "deadline",
- "message_size", "http-client", "compress", "connected", NULL);
+ CHECK_STACK("chttp2", NULL, GRPC_CLIENT_DIRECT_CHANNEL, "message_size",
+ "deadline", "http-client", "compress", "connected", NULL);
errors += CHECK_STACK("chttp2", NULL, GRPC_CLIENT_SUBCHANNEL, "message_size",
"http-client", "compress", "connected", NULL);
errors +=
- CHECK_STACK("chttp2", NULL, GRPC_SERVER_CHANNEL, "server", "deadline",
- "message_size", "http-server", "compress", "connected", NULL);
+ CHECK_STACK("chttp2", NULL, GRPC_SERVER_CHANNEL, "server", "message_size",
+ "deadline", "http-server", "compress", "connected", NULL);
errors +=
CHECK_STACK(NULL, NULL, GRPC_CLIENT_CHANNEL, "client-channel", NULL);
@@ -147,6 +147,7 @@ static int check_stack(const char *file, int line, const char *transport_name,
}
char *got = gpr_strvec_flatten(&v, NULL);
gpr_strvec_destroy(&v);
+ grpc_channel_stack_builder_iterator_destroy(it);
// figure out result, log if there's an error
int result = 0;