diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/StartServer.ps1 b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/StartServer.ps1 index 063d612730..21e0040ce7 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/StartServer.ps1 +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/StartServer.ps1 @@ -64,7 +64,7 @@ elseif (($serverType -eq "Kestrel") -or ($serverType -eq "WebListener")) } elseif ($serverType -eq "WebListener") { - $command = $command + " --server Microsoft.AspNetCore.Server.WebListener" + $command = $command + " --server Microsoft.AspNetCore.Server.HttpSys" Write-Host "Executing the command '$command'" Invoke-Expression $command } diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/SelfHostDeployer.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/SelfHostDeployer.cs index d7764c0290..bd93d6cabb 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/SelfHostDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/SelfHostDeployer.cs @@ -84,7 +84,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting } executableArgs += $" --server.urls {uri} " - + $" --server {(DeploymentParameters.ServerType == ServerType.WebListener ? "Microsoft.AspNetCore.Server.WebListener" : "Microsoft.AspNetCore.Server.Kestrel")}"; + + $" --server {(DeploymentParameters.ServerType == ServerType.WebListener ? "Microsoft.AspNetCore.Server.HttpSys" : "Microsoft.AspNetCore.Server.Kestrel")}"; Logger.LogInformation($"Executing {executableName} {executableArgs}");