Skip to content

Commit

Permalink
timing sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 2, 2024
1 parent 16acad4 commit bedcfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cxx/IOTools/IOUtilsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ namespace tut {
// We read 3 bytes.
ensure_equals(readExact(p.first, &buf, sizeof(buf), &timeout), 3u);
ensure("Should have taken at least 20 msec", timeout <= 100000 - 20000);
ensure("Should have taken at most 95 msec", timeout >= 100000 - 150000);
ensure("Should have taken at most 150 msec", timeout >= 100000 - 150000);
}

TEST_METHOD(59) {
Expand Down

0 comments on commit bedcfc3

Please sign in to comment.