We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eab8695 commit 144eb00Copy full SHA for 144eb00
1 file changed
Tests/UnitTests/Tests/TaskQueueTests.cpp
@@ -457,10 +457,10 @@ DEFINE_TEST_CLASS(TaskQueueTests)
457
uint64_t call2Ticks = result.Times[1] - baseTicks;
458
uint64_t call3Ticks = result.Times[2] - baseTicks;
459
460
- // Call 1 at index 0 should have a tick count > 1000 and < 1050 (shouldn't take 50ms)
461
- VERIFY_IS_TRUE(call1Ticks >= 1000 && call1Ticks < 1050);
462
- VERIFY_IS_TRUE(call2Ticks < 50);
463
- VERIFY_IS_TRUE(call3Ticks >= 500 && call3Ticks < 550);
+ // Call 1 at index 0 should have a tick count > 1000 and < 1100 (100ms tolerance for debugger overhead)
+ VERIFY_IS_TRUE(call1Ticks >= 1000 && call1Ticks < 1100);
+ VERIFY_IS_TRUE(call2Ticks < 100);
+ VERIFY_IS_TRUE(call3Ticks >= 500 && call3Ticks < 600);
464
}
465
466
0 commit comments