Skip to content

Commit

Permalink
Fix timing issue in BufferedIOTest
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 9, 2024
1 parent 4149004 commit 90ec660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cxx/IOTools/BufferedIOTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ namespace tut {
ensure_equals(io.readLine(), "hello\n");
ensure_equals(io.getBuffer(), "world\n.");
ensure("At least 33 msec elapsed", timer1.elapsed() >= 33);
ensure("At most 250 msec elapsed", timer1.elapsed() <= 250);
ensure("At most 350 msec elapsed", timer1.elapsed() <= 350);

TempThread thr3(boost::bind(closeAfterSomeTime, writer, 20000));
Timer<> timer2;
Expand Down

0 comments on commit 90ec660

Please sign in to comment.