Home
last modified time | relevance | path

Searched refs:channelz_channel (Results 1 – 5 of 5) sorted by relevance

/third_party/grpc/test/core/channel/
Dchannelz_registry_test.cc59 RefCountedPtr<BaseNode> channelz_channel = CreateTestNode(); in TEST_F() local
60 intptr_t uuid = channelz_channel->uuid(); in TEST_F()
80 RefCountedPtr<BaseNode> channelz_channel = CreateTestNode(); in TEST_F() local
82 ChannelzRegistry::Get(channelz_channel->uuid()); in TEST_F()
83 EXPECT_EQ(channelz_channel, retrieved); in TEST_F()
97 RefCountedPtr<BaseNode> channelz_channel = CreateTestNode(); in TEST_F() local
100 ChannelzRegistry::Get(channelz_channel->uuid() + 1); in TEST_F()
103 ChannelzRegistry::Get(channelz_channel->uuid()); in TEST_F()
104 EXPECT_EQ(channelz_channel, retrieved); in TEST_F()
Dchannelz_test.cc264 ChannelNode* channelz_channel = in TEST_P() local
266 ValidateChannel(channelz_channel, {0, 0, 0}); in TEST_P()
281 ChannelNode* channelz_channel = grpc_channel_get_channelz_node(channel); in TEST() local
282 ASSERT_EQ(channelz_channel, nullptr); in TEST()
289 ChannelNode* channelz_channel = in TEST_P() local
291 channelz_channel->RecordCallStarted(); in TEST_P()
292 channelz_channel->RecordCallFailed(); in TEST_P()
293 channelz_channel->RecordCallSucceeded(); in TEST_P()
294 ValidateChannel(channelz_channel, {1, 1, 1}); in TEST_P()
295 channelz_channel->RecordCallStarted(); in TEST_P()
[all …]
/third_party/grpc/test/core/end2end/tests/
Dchannelz.cc212 grpc_core::channelz::ChannelNode* channelz_channel = in test_channelz() local
214 GPR_ASSERT(channelz_channel != nullptr); in test_channelz()
220 std::string json = channelz_channel->RenderJsonString(); in test_channelz()
229 json = channelz_channel->RenderJsonString(); in test_channelz()
236 json = channelz_channel->RenderJsonString(); in test_channelz()
273 grpc_core::channelz::ChannelNode* channelz_channel = in test_channelz_with_channel_trace() local
275 GPR_ASSERT(channelz_channel != nullptr); in test_channelz_with_channel_trace()
283 std::string json = channelz_channel->RenderJsonString(); in test_channelz_with_channel_trace()
309 grpc_core::channelz::ChannelNode* channelz_channel = in test_channelz_disabled() local
311 GPR_ASSERT(channelz_channel == nullptr); in test_channelz_disabled()
[all …]
Dretry_streaming.cc172 grpc_core::channelz::ChannelNode* channelz_channel = in test_retry_streaming() local
398 GPR_ASSERT(channelz_channel != nullptr); in test_retry_streaming()
399 std::string json = channelz_channel->RenderJsonString(); in test_retry_streaming()
/third_party/grpc/src/core/lib/surface/
Dcall.cc480 grpc_core::channelz::ChannelNode* channelz_channel = in grpc_call_create() local
482 if (channelz_channel != nullptr) { in grpc_call_create()
483 channelz_channel->RecordCallStarted(); in grpc_call_create()
757 grpc_core::channelz::ChannelNode* channelz_channel = in set_final_status() local
759 if (channelz_channel != nullptr) { in set_final_status()
761 channelz_channel->RecordCallFailed(); in set_final_status()
763 channelz_channel->RecordCallSucceeded(); in set_final_status()