Commit 6b2d248d by Abseil Team Committed by Copybara-Service

Disables StderrKnobsDefault due to order dependency

The SetLogtostderr and SetAlsologtostderr tests are setting flags that cause the stderrthreshold global value to be out of sync with the stderrthreshold flag. As a result, it is not currently possible to remove order dependency with these existing tests.

PiperOrigin-RevId: 481731395
Change-Id: Ie992520982f2e69821d1d1b660e3326bf745ef0d
parent bbf2ed78
......@@ -48,7 +48,10 @@ class LogFlagsTest : public ::testing::Test {
absl::FlagSaver flag_saver_;
};
TEST_F(LogFlagsTest, StderrKnobsDefault) {
// This test is disabled because it adds order dependency to the test suite.
// This order dependency is currently not fixable due to the way the
// stderrthreshold global value is out of sync with the stderrthreshold flag.
TEST_F(LogFlagsTest, DISABLED_StderrKnobsDefault) {
EXPECT_EQ(absl::StderrThreshold(), DefaultStderrThreshold());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment