aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel/channel_trace_test.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-05-11 12:34:02 -0400
committerGravatar ncteisen <ncteisen@gmail.com>2018-05-17 15:07:53 -0700
commit3be52f9bccf48177944b47228a176233d482c67d (patch)
tree70af81d49a73f5cca5bf87d1a34861f877fd5b26 /test/core/channel/channel_trace_test.cc
parent16b42ca9aae34a32187888783464cd8e692dc45e (diff)
C++-ize the registry
Diffstat (limited to 'test/core/channel/channel_trace_test.cc')
-rw-r--r--test/core/channel/channel_trace_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/channel/channel_trace_test.cc b/test/core/channel/channel_trace_test.cc
index da644d00d5..b91956a663 100644
--- a/test/core/channel/channel_trace_test.cc
+++ b/test/core/channel/channel_trace_test.cc
@@ -99,7 +99,7 @@ void ValidateTraceDataMatchedUuidLookup(RefCountedPtr<ChannelTrace> tracer) {
intptr_t uuid = tracer->GetUuid();
if (uuid == -1) return; // Doesn't make sense to lookup if tracing disabled
char* tracer_json_str = tracer->RenderTrace();
- ChannelTrace* uuid_lookup = grpc_channelz_registry_get_channel_trace(uuid);
+ ChannelTrace* uuid_lookup = ChannelzRegistry::Default()->Get(uuid);
char* uuid_lookup_json_str = uuid_lookup->RenderTrace();
EXPECT_EQ(strcmp(tracer_json_str, uuid_lookup_json_str), 0);
gpr_free(tracer_json_str);