Skip to content

Commit

Permalink
fix throwing MissingTestException (#109577)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentBu authored Nov 12, 2024
1 parent f7334fa commit b22872f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/GC/Stress/Framework/ReliabilityFramework.cs
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ private void TestStarter()
else
{
Thread.Sleep(250); // give the CPU a bit of a rest if we don't need to start a new test.
if (DateTime.Now.Subtract(_startTime) > minTimeToStartTest)
if (_curTestSet.DebugBreakOnMissingTest && DateTime.Now.Subtract(_startTime) > minTimeToStartTest)
{
MissingTestException e = new MissingTestException("New tests not starting");
ExceptionHandler exceptionHandler = GenerateExceptionMessageAndHandler(_curTestSet.DebugBreakOnMissingTest, e);
Expand Down

0 comments on commit b22872f

Please sign in to comment.