aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-07-15 09:12:26 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-07-15 09:12:26 -0700
commit51d002244816d53623d1743df15fe26e94f9e8b6 (patch)
tree8182e945f5a62dbfaa563e9850bacf8799d04f1c /test/core/end2end/tests
parentd60b91dde0ad9593e23f134e261a2c58d0b3e331 (diff)
Change priority for adding the filter in the filter_call_init_fails test.
Diffstat (limited to 'test/core/end2end/tests')
-rw-r--r--test/core/end2end/tests/filter_call_init_fails.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/end2end/tests/filter_call_init_fails.c b/test/core/end2end/tests/filter_call_init_fails.c
index e8ceb33eb7..a1699e86c9 100644
--- a/test/core/end2end/tests/filter_call_init_fails.c
+++ b/test/core/end2end/tests/filter_call_init_fails.c
@@ -238,16 +238,16 @@ static const grpc_channel_filter test_filter = {
static bool maybe_add_filter(grpc_channel_stack_builder *builder, void *arg) {
if (g_enable_filter) {
- return grpc_channel_stack_builder_prepend_filter(builder, &test_filter,
- NULL, NULL);
+ return grpc_channel_stack_builder_append_filter(builder, &test_filter,
+ NULL, NULL);
} else {
return true;
}
}
static void init_plugin(void) {
- grpc_channel_init_register_stage(GRPC_SERVER_CHANNEL, 0, maybe_add_filter,
- NULL);
+ grpc_channel_init_register_stage(GRPC_SERVER_CHANNEL, MAX_INT,
+ maybe_add_filter, NULL);
}
static void destroy_plugin(void) {}