Disable logging test (#32049)

pull/32064/head
Yash Tibrewal 2 years ago committed by GitHub
parent 9beb72836e
commit 5fc92eaeae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      test/cpp/ext/filters/logging/logging_test.cc

@ -147,7 +147,7 @@ class LoggingTest : public ::testing::Test {
std::unique_ptr<EchoTestService::Stub> stub_;
};
TEST_F(LoggingTest, SimpleRpc) {
TEST_F(LoggingTest, DISABLED_SimpleRpc) {
g_test_logging_sink->SetConfig(
grpc::internal::LoggingSink::Config(4096, 4096));
EchoRequest request;
@ -304,7 +304,7 @@ TEST_F(LoggingTest, SimpleRpc) {
"server-trailer-value")))))));
}
TEST_F(LoggingTest, LoggingDisabled) {
TEST_F(LoggingTest, DISABLED_LoggingDisabled) {
g_test_logging_sink->SetConfig(grpc::internal::LoggingSink::Config());
EchoRequest request;
request.set_message("foo");
@ -316,7 +316,7 @@ TEST_F(LoggingTest, LoggingDisabled) {
EXPECT_TRUE(g_test_logging_sink->entries().empty());
}
TEST_F(LoggingTest, MetadataTruncated) {
TEST_F(LoggingTest, DISABLED_MetadataTruncated) {
g_test_logging_sink->SetConfig(grpc::internal::LoggingSink::Config(
40 /* expect truncated metadata*/, 4096));
EchoRequest request;
@ -474,7 +474,7 @@ TEST_F(LoggingTest, MetadataTruncated) {
"server-trailer-value")))))));
}
TEST_F(LoggingTest, PayloadTruncated) {
TEST_F(LoggingTest, DISABLED_PayloadTruncated) {
g_test_logging_sink->SetConfig(grpc::internal::LoggingSink::Config(4096, 10));
EchoRequest request;
// The following message should get truncated
@ -635,7 +635,7 @@ TEST_F(LoggingTest, PayloadTruncated) {
"server-trailer-value")))))));
}
TEST_F(LoggingTest, CancelledRpc) {
TEST_F(LoggingTest, DISABLED_CancelledRpc) {
g_test_logging_sink->SetConfig(
grpc::internal::LoggingSink::Config(4096, 4096));
EchoRequest request;

Loading…
Cancel
Save