Changed sleep time to 100ms for unit test (hack) #4651

This commit is contained in:
Nick Bolton 2015-05-25 15:25:14 +01:00
parent 16d9bd8f0d
commit b71c298163
1 changed files with 3 additions and 1 deletions

View File

@ -120,7 +120,9 @@ TEST(IpcLogOutputterTests, write_overBufferRateLimit_lastLineTruncated)
// after waiting the time limit send another to make sure
// we can log after the time limit passes.
ARCH->sleep(0.01); // 10ms
// HACK: sleep causes the unit test to fail intermittently,
// so lets try 100ms (there must be a better way to solve this)
ARCH->sleep(0.1); // 100ms
outputter.write(kNOTE, "mock 3");
outputter.write(kNOTE, "mock 4");
outputter.sendBuffer();