diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestMatrix.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestMatrix.cs index d577e25dc7..4353627fc5 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestMatrix.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestMatrix.cs @@ -252,7 +252,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting } var archSkip = skip ?? SkipIfArchitectureNotSupportedOnCurrentSystem(arch); - if (server == ServerType.IISExpress) + if (server == ServerType.IISExpress || server == ServerType.IIS) { VaryByAncmVersion(variants, server, tfm, type, arch, archSkip); } diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestVariant.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestVariant.cs index 76220d7fef..adf25b0dfa 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestVariant.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/TestVariant.cs @@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting { // For debug and test explorer view var description = $"Server: {Server}, TFM: {Tfm}, Type: {ApplicationType}, Arch: {Architecture}"; - if (Server == ServerType.IISExpress) + if (Server == ServerType.IISExpress || Server == ServerType.IIS) { var version = AncmVersion == AncmVersion.AspNetCoreModule ? "V1" : "V2"; description += $", ANCM: {version}, Host: {HostingModel}";