From ce303fa808fd69b264469f2a0f607555669ba0e4 Mon Sep 17 00:00:00 2001 From: tanvi-jagtap Date: Thu, 8 Aug 2024 10:09:28 +0000 Subject: [PATCH] [Gpr_To_Absl_Logging] --- test/core/end2end/cq_verifier.cc | 2 +- test/core/end2end/tests/simple_request.cc | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/test/core/end2end/cq_verifier.cc b/test/core/end2end/cq_verifier.cc index 9d36113fba8..cb9e62f8f6a 100644 --- a/test/core/end2end/cq_verifier.cc +++ b/test/core/end2end/cq_verifier.cc @@ -365,7 +365,7 @@ void CqVerifier::Verify(Duration timeout, SourceLocation location) { while (!expectations_.empty()) { must_log = std::exchange(added_expectations_, false) || must_log; if (log_verifications_ && must_log) { - VLOG(2) << "Verify " << ToShortString() << " for " << timeout; + LOG(ERROR) << "Verify " << ToShortString() << " for " << timeout; } must_log = false; grpc_event ev = Step(deadline); diff --git a/test/core/end2end/tests/simple_request.cc b/test/core/end2end/tests/simple_request.cc index 79685ce9a07..a68816ec78c 100644 --- a/test/core/end2end/tests/simple_request.cc +++ b/test/core/end2end/tests/simple_request.cc @@ -41,7 +41,6 @@ using testing::StartsWith; namespace grpc_core { namespace { void CheckPeer(std::string peer_name) { - LOG(INFO) << "DO_NOT_SUBMIT_tjagtap :simple_request:CheckPeer"; // If the peer name is a uds path, then check if it is filled if (absl::StartsWith(peer_name, "unix:/")) { EXPECT_THAT(peer_name, StartsWith("unix:/tmp/grpc_fullstack_test.")); @@ -49,7 +48,6 @@ void CheckPeer(std::string peer_name) { } void SimpleRequestBody(CoreEnd2endTest& test) { - LOG(INFO) << "DO_NOT_SUBMIT_tjagtap :simple_request:SimpleRequestBody"; auto before = global_stats().Collect(); auto c = test.NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create(); EXPECT_NE(c.GetPeer(), absl::nullopt); @@ -100,13 +98,9 @@ void SimpleRequestBody(CoreEnd2endTest& test) { expected_calls); } -CORE_END2END_TEST(CoreEnd2endTest, SimpleRequest) { - LOG(INFO) << "DO_NOT_SUBMIT_tjagtap :simple_request:SimpleRequest"; - SimpleRequestBody(*this); -} +CORE_END2END_TEST(CoreEnd2endTest, SimpleRequest) { SimpleRequestBody(*this); } CORE_END2END_TEST(CoreEnd2endTest, SimpleRequest10) { - LOG(INFO) << "DO_NOT_SUBMIT_tjagtap :simple_request:SimpleRequest10"; for (int i = 0; i < 10; i++) { SimpleRequestBody(*this); }