Skip to content

Commit 9e3af28

Browse files
committed
Doubled up execution starting/finished messages
1 parent f72794a commit 9e3af28

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/xunit.runner.visualstudio/VsTestRunner.cs

-13
Original file line numberDiff line numberDiff line change
@@ -583,13 +583,6 @@ await DiscoverTestsInAssembly(
583583
executionOptions.SetDisableParallelization(true);
584584
}
585585

586-
reporterMessageHandler.OnMessage(new TestAssemblyExecutionStarting
587-
{
588-
Assembly = runInfo.Assembly,
589-
ExecutionOptions = executionOptions,
590-
Seed = executionOptions.GetSeed(),
591-
});
592-
593586
using var vsExecutionSink = new VsExecutionSink(reporterMessageHandler, frameworkHandle, logger, testCasesMap, () => cancelled);
594587
var executionSinkOptions = new ExecutionSinkOptions
595588
{
@@ -614,12 +607,6 @@ await DiscoverTestsInAssembly(
614607

615608
resultsSink.Finished.WaitOne();
616609

617-
reporterMessageHandler.OnMessage(new TestAssemblyExecutionFinished
618-
{
619-
Assembly = runInfo.Assembly,
620-
ExecutionOptions = executionOptions,
621-
ExecutionSummary = resultsSink.ExecutionSummary,
622-
});
623610
if ((resultsSink.ExecutionSummary.Failed != 0 || resultsSink.ExecutionSummary.Errors != 0) && executionOptions.GetStopOnTestFailOrDefault())
624611
{
625612
logger.Log("Canceling due to test failure...");

0 commit comments

Comments
 (0)