diff options
author | yang-g <yangg@google.com> | 2018-08-01 11:22:32 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2018-08-01 11:22:32 -0700 |
commit | d6ef707422c8afba5046f395419a2a524a248472 (patch) | |
tree | a9ee7970cfa1dbc6c69c981f35c43089843a52b2 /test/cpp/common | |
parent | b811b4e73dcdb15f7fd9cef02fe457c42d0f855c (diff) |
Add more filter priority levels
Diffstat (limited to 'test/cpp/common')
-rw-r--r-- | test/cpp/common/channel_filter_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/common/channel_filter_test.cc b/test/cpp/common/channel_filter_test.cc index 7bdd53f9e7..9b603ca5b4 100644 --- a/test/cpp/common/channel_filter_test.cc +++ b/test/cpp/common/channel_filter_test.cc @@ -50,7 +50,8 @@ class MyCallData : public CallData { // C-core, we don't accidentally break the C++ filter API. TEST(ChannelFilterTest, RegisterChannelFilter) { grpc::RegisterChannelFilter<MyChannelData, MyCallData>( - "myfilter", GRPC_CLIENT_CHANNEL, INT_MAX, nullptr); + "myfilter", GRPC_CLIENT_CHANNEL, GRPC_CHANNEL_INIT_PRIORITY_LOW, true, + nullptr); } // TODO(roth): When we have time, add tests for all methods of the |