Skip to content

Commit

Permalink
adjust pipesize in test/logging/test_async_file_appender.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Aug 5, 2024
1 parent b69a3be commit ef8fc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/logging/test_async_file_appender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct LogStream : public ::std::ostream {
struct AsyncFileAppenderTest : public ::testing::Test {
virtual void SetUp() override {
ASSERT_EQ(0, ::pipe(pipefd));
ASSERT_GT(65536, ::fcntl(pipefd[1], F_SETPIPE_SZ, 16384));
ASSERT_EQ(16 * 4096, ::fcntl(pipefd[1], F_SETPIPE_SZ, 16 * 4096));
file_object.fd = pipefd[1];
}

Expand Down

0 comments on commit ef8fc2c

Please sign in to comment.