Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubch1 committed Jun 19, 2020
1 parent bcd0673 commit 147f23e
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,19 +446,9 @@ private async Task EnsureInitializedAsync()
{
EqtTrace.Info("VsTestConsoleWrapper.EnsureInitializedAsync: Process is not started.");
await this.StartSessionAsync();
this.sessionStarted = this.WaitForConnection();

if (this.sessionStarted)
{
EqtTrace.Info("VsTestConsoleWrapper.EnsureInitializedAsync: Send a request to initialize extensions.");
this.requestSender.InitializeExtensions(this.pathToAdditionalExtensions);
}
}

if (!this.sessionStarted && this.requestSender != null)
{
EqtTrace.Info("VsTestConsoleWrapper.EnsureInitializedAsync: Process Started.");
this.sessionStarted = this.WaitForConnection();
EqtTrace.Info("VsTestConsoleWrapper.EnsureInitializedAsync: Send a request to initialize extensions.");
this.requestSender.InitializeExtensions(this.pathToAdditionalExtensions);
}
}

Expand Down

0 comments on commit 147f23e

Please sign in to comment.