aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel/channel_trace_test.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-05-17 09:55:24 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-05-17 15:07:54 -0700
commit3a3bbaf11cfcaa39351cbdadcd2f0d5a47e951a5 (patch)
tree67cff99ae89405da2b8a7cdfedd47b7b9b606450 /test/core/channel/channel_trace_test.cc
parent7243c5f1f6bc4e384800900e4fda295a5c24c0ff (diff)
reviewer feedback
Diffstat (limited to 'test/core/channel/channel_trace_test.cc')
-rw-r--r--test/core/channel/channel_trace_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/core/channel/channel_trace_test.cc b/test/core/channel/channel_trace_test.cc
index 78964b2d72..64de05bc0a 100644
--- a/test/core/channel/channel_trace_test.cc
+++ b/test/core/channel/channel_trace_test.cc
@@ -99,8 +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 =
- ChannelzRegistry::Default()->Get<ChannelTrace>(uuid);
+ ChannelTrace* uuid_lookup = ChannelzRegistry::Get<ChannelTrace>(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);