Skip to content

Commit

Permalink
Fixed regression with ScenarioTestRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbeuk committed May 3, 2021
1 parent 9d96dd8 commit 741bf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScenarioTests/Internal/ScenarioFactTestCaseRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ protected override async Task<RunSummary> RunTestAsync()
if (skipAdditionalTests)
{
pendingRestart = true; // when we discovered more tests after a test completed, allow us to restart
scenarioContext.EndScenarioConditionally();
return;
}
Expand Down Expand Up @@ -114,7 +115,6 @@ protected override async Task<RunSummary> RunTestAsync()
}
scenarioContext.IsTargetConclusive = true;
scenarioContext.EndScenarioConditionally();
});

scenarioContext.AutoAbort = scenarioFactTestCase.ExecutionPolicy is ScenarioTestExecutionPolicy.EndAfterConclusion;
Expand Down

0 comments on commit 741bf6d

Please sign in to comment.