[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log

pull/36879/head
tanvi-jagtap 9 months ago
parent 35134e8219
commit 381c318357
  1. 7
      test/core/slice/slice_test.cc

@ -401,7 +401,12 @@ TEST(SliceTest, ExternalAsOwned) {
// In ASAN (where we can be sure that it'll crash), go ahead and read the // In ASAN (where we can be sure that it'll crash), go ahead and read the
// bytes we just deleted. // bytes we just deleted.
if (BuiltUnderAsan()) { if (BuiltUnderAsan()) {
ASSERT_DEATH({ VLOG(2) << SumSlice(slice); }, ""); ASSERT_DEATH(
{
size_t sum = SumSlice(slice);
VLOG(2) << sum;
},
"");
} }
EXPECT_EQ(initial_sum, SumSlice(owned)); EXPECT_EQ(initial_sum, SumSlice(owned));
} }

Loading…
Cancel
Save