Remove dotnet dependency to start WebListener (#8390)

WebListener.exe (which was already being built) is sufficient to start web listener. Remove the dependency on `dotnet` being present to start the web listener.

Use `Start-Process` instead of `Start-Job` to launch the WebListener.
This commit is contained in:
Aditya Patwardhan authored and Travis Plunk committed 2018-12-11 14:15:32 -08:00
1 parent ac2b453ba7
commit ee5fc080e2
3 files changed
+22 -21

No files matched your search

@@ -367,7 +367,7 @@ $redirectTests = @(
@{redirectType = 'relative'; redirectedMethod = 'GET'}
)
Describe "Invoke-WebRequest tests" -Tags "Feature" {
Describe "Invoke-WebRequest tests" -Tags "Feature", "RequireAdminOnWindows" {
BeforeAll {
$WebListener = Start-WebListener
}
@@ -1785,7 +1785,7 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" {
}
}
Describe "Invoke-RestMethod tests" -Tags "Feature" {
Describe "Invoke-RestMethod tests" -Tags "Feature", "RequireAdminOnWindows" {
BeforeAll {
$WebListener = Start-WebListener
}
@@ -3069,7 +3069,7 @@ Describe "Invoke-RestMethod tests" -Tags "Feature" {
}
}
Describe "Validate Invoke-WebRequest and Invoke-RestMethod -InFile" -Tags "Feature" {
Describe "Validate Invoke-WebRequest and Invoke-RestMethod -InFile" -Tags "Feature", "RequireAdminOnWindows" {
BeforeAll {
$WebListener = Start-WebListener
}
@@ -3149,7 +3149,7 @@ Describe "Validate Invoke-WebRequest and Invoke-RestMethod -InFile" -Tags "Featu
}
}
Describe "Web cmdlets tests using the cmdlet's aliases" -Tags "CI" {
Describe "Web cmdlets tests using the cmdlet's aliases" -Tags "CI", "RequireAdminOnWindows" {
BeforeAll {
$WebListener = Start-WebListener
}