From deb3db93e62899bd0f174b9b756e8b8726a2b07a Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Tue, 9 Jun 2015 13:59:04 -0700 Subject: [PATCH] Tried to fix random unittest fail --- src/test/unittests/ipc/IpcLogOutputterTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/unittests/ipc/IpcLogOutputterTests.cpp b/src/test/unittests/ipc/IpcLogOutputterTests.cpp index 404c1a1a..876eb087 100644 --- a/src/test/unittests/ipc/IpcLogOutputterTests.cpp +++ b/src/test/unittests/ipc/IpcLogOutputterTests.cpp @@ -111,7 +111,7 @@ TEST(IpcLogOutputterTests, write_overBufferRateLimit_lastLineTruncated) EXPECT_CALL(mockServer, send(IpcLogLineMessageEq("mock 3\n"), _)).Times(1); IpcLogOutputter outputter(mockServer, false); - outputter.bufferRateLimit(1, 0.001); // 1ms + outputter.bufferRateLimit(1, 0.01); // 10ms // log 1 more line than the buffer can accept in time limit. outputter.write(kNOTIFY, "mock 1");