Skip to content

Commit c6ccf23

Browse files
authored
Enable AOT template tests (#47247)
1 parent ab1bfa7 commit c6ccf23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+71
-10
lines changed

eng/targets/Helix.Common.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<HelixAvailableTargetQueue Include="Ubuntu.2004.Amd64.Open" Platform="Linux" />
3131
<HelixAvailableTargetQueue Include="OSX.13.Amd64.Open" Platform="OSX" />
3232
<HelixAvailableTargetQueue Include="Windows.11.Amd64.Client.Open" Platform="Windows" />
33+
<HelixAvailableTargetQueue Include="Windows.Amd64.VS2022.Pre.Open" Platform="Windows" />
3334
</ItemGroup>
3435
</When>
3536
<Otherwise>

src/ProjectTemplates/test/Templates.Blazor.WebAssembly.Auth.Tests/BlazorWasmTemplateAuthTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public Task BlazorWasmHostedTemplate_IndividualAuth_NoHttps_Works_WithLocalDB_Pr
6565

6666
[ConditionalFact]
6767
[SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/34554", Queues = "Windows.10.Arm64v8.Open")]
68+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/47933")]
6869
public Task BlazorWasmHostedTemplate_IndividualAuth_Works_WithOutLocalDB_ProgramMain()
6970
=> BlazorWasmHostedTemplate_IndividualAuth_Works(false, true, false);
7071

src/ProjectTemplates/test/Templates.Tests/ApiTemplateTest.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using Microsoft.AspNetCore.Testing;
5+
using Microsoft.Extensions.Logging.Testing;
56
using Templates.Test.Helpers;
67
using Xunit.Abstractions;
78

@@ -35,7 +36,8 @@ public async Task ApiTemplateCSharp()
3536
await ApiTemplateCore(languageOverride: null);
3637
}
3738

38-
[ConditionalFact(Skip = "Unskip when Helix supports native AOT. https://github.com/dotnet/aspnetcore/pull/47247/")]
39+
[ConditionalFact]
40+
[SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/47478", Queues = "OSX.13.Amd64.Open;Ubuntu.2004.Amd64.Open;Windows.11.Amd64.Client.Open;")]
3941
public async Task ApiTemplateNativeAotCSharp()
4042
{
4143
await ApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.PublishNativeAot });
@@ -47,7 +49,8 @@ public async Task ApiTemplateProgramMainCSharp()
4749
await ApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain });
4850
}
4951

50-
[ConditionalFact(Skip = "Unskip when Helix supports native AOT. https://github.com/dotnet/aspnetcore/pull/47247/")]
52+
[ConditionalFact]
53+
[SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/47478", Queues = "OSX.13.Amd64.Open;Ubuntu.2004.Amd64.Open;Windows.11.Amd64.Client.Open;")]
5154
public async Task ApiTemplateProgramMainNativeAotCSharp()
5255
{
5356
await ApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain, ArgConstants.PublishNativeAot });
@@ -93,7 +96,6 @@ private async Task ApiTemplateCore(string languageOverride, string[] args = null
9396
Assert.False(
9497
aspNetProcess.Process.HasExited,
9598
ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process));
96-
9799
await AssertEndpoints(aspNetProcess);
98100
}
99101

src/ProjectTemplates/test/Templates.Tests/GrpcTemplateTest.cs

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public async Task GrpcTemplate()
4444
}
4545

4646
// TODO (https://github.com/dotnet/aspnetcore/issues/47336): Don't skip on macos 11
47-
[ConditionalFact(Skip = "Unskip when there are no more build or publish warnings for native AOT.")]
48-
[SkipOnHelix("Not supported queues", Queues = "OSX.1100.Amd64.Open;windows.11.arm64.open;" + HelixConstants.Windows10Arm64 + HelixConstants.DebianArm64)]
47+
[ConditionalFact]
48+
[SkipOnHelix("Not supported queues", Queues = "OSX.1100.Amd64.Open;windows.11.arm64.open;OSX.13.Amd64.Open;Ubuntu.2004.Amd64.Open;Windows.11.Amd64.Client.Open;" + HelixConstants.Windows10Arm64 + HelixConstants.DebianArm64)]
4949
[SkipOnAlpine("https://github.com/grpc/grpc/issues/18338")] // protoc doesn't support Alpine. Note that the issue was closed with a workaround which isn't applied to our OS image.
5050
public async Task GrpcTemplateNativeAot()
5151
{
@@ -62,8 +62,8 @@ public async Task GrpcTemplateProgramMain()
6262
}
6363

6464
// TODO (https://github.com/dotnet/aspnetcore/issues/47336): Don't skip on macos 11
65-
[ConditionalFact(Skip = "Unskip when there are no more build or publish warnings for native AOT.")]
66-
[SkipOnHelix("Not supported queues", Queues = "OSX.1100.Amd64.Open;windows.11.arm64.open;" + HelixConstants.Windows10Arm64 + HelixConstants.DebianArm64)]
65+
[ConditionalFact]
66+
[SkipOnHelix("Not supported queues", Queues = "OSX.1100.Amd64.Open;windows.11.arm64.open;OSX.13.Amd64.Open;Ubuntu.2004.Amd64.Open;Windows.11.Amd64.Client.Open;" + HelixConstants.Windows10Arm64 + HelixConstants.DebianArm64)]
6767
[SkipOnAlpine("https://github.com/grpc/grpc/issues/18338")] // protoc doesn't support Alpine. Note that the issue was closed with a workaround which isn't applied to our OS image.
6868
public async Task GrpcTemplateProgramMainNativeAot()
6969
{
@@ -72,7 +72,13 @@ public async Task GrpcTemplateProgramMainNativeAot()
7272

7373
private async Task GrpcTemplateCore(string[] args = null)
7474
{
75+
var nativeAot = args?.Contains(ArgConstants.PublishNativeAot) ?? false;
76+
7577
var project = await ProjectFactory.CreateProject(Output);
78+
if (nativeAot)
79+
{
80+
project.SetCurrentRuntimeIdentifier();
81+
}
7682

7783
await project.RunDotNetNewAsync("grpc", args: args);
7884

@@ -81,7 +87,12 @@ private async Task GrpcTemplateCore(string[] args = null)
8187

8288
await project.VerifyHasProperty("InvariantGlobalization", "true");
8389

84-
await project.RunDotNetPublishAsync();
90+
// Force a restore if native AOT so that RID-specific assets are restored
91+
await project.RunDotNetPublishAsync(noRestore: !nativeAot);
92+
93+
// Run dotnet build after publish. The reason is that one uses Config = Debug and the other uses Config = Release
94+
// The output from publish will go into bin/Release/netcoreappX.Y/publish and won't be affected by calling build
95+
// later, while the opposite is not true.
8596

8697
await project.RunDotNetBuildAsync();
8798

@@ -105,7 +116,7 @@ private async Task GrpcTemplateCore(string[] args = null)
105116
}
106117
}
107118

108-
using (var aspNetProcess = project.StartPublishedProjectAsync(hasListeningUri: !isWindowsOld))
119+
using (var aspNetProcess = project.StartPublishedProjectAsync(hasListeningUri: !isWindowsOld, usePublishedAppHost: nativeAot))
109120
{
110121
// These templates are HTTPS + HTTP/2 only which is not supported on some platforms.
111122
if (isWindowsOld)

src/Servers/HttpSys/test/FunctionalTests/Http2Tests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests;
2323

24+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2425
public class Http2Tests : LoggedTest
2526
{
2627
private const string VersionForReset = "10.0.19529";

src/Servers/IIS/IIS/test/Common.FunctionalTests/AspNetCorePortTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2929
#endif
3030

3131
[Collection(PublishedSitesCollection.Name)]
32+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3233
public class AspNetCorePortTests : IISFunctionalTestBase
3334
{
3435
// Port range allowed by ANCM config

src/Servers/IIS/IIS/test/Common.FunctionalTests/BasicAuthTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2828
#endif
2929

3030
[Collection(PublishedSitesCollection.Name)]
31+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3132
public class BasicAuthTests : IISFunctionalTestBase
3233
{
3334
public BasicAuthTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/Common.FunctionalTests/CompressionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2626
#endif
2727

2828
[Collection(IISCompressionSiteCollection.Name)]
29+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2930
public class CompressionTests : FixtureLoggedTest
3031
{
3132
private readonly IISCompressionSiteFixture _fixture;

src/Servers/IIS/IIS/test/Common.FunctionalTests/FrebTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
3131
#endif
3232

3333
[Collection(PublishedSitesCollection.Name)]
34+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3435
public class FrebTests : IISFunctionalTestBase
3536
{
3637
public FrebTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/Common.FunctionalTests/GlobalVersionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2929
#endif
3030

3131
[Collection(PublishedSitesCollection.Name)]
32+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3233
public class GlobalVersionTests : IISFunctionalTestBase
3334
{
3435
public GlobalVersionTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/Common.FunctionalTests/Http2Tests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
3838
/// with newer functionality.
3939
/// </summary>
4040
[Collection(IISHttpsTestSiteCollection.Name)]
41+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
4142
public class Http2Tests
4243
{
4344
public Http2Tests(IISTestSiteFixture fixture)

src/Servers/IIS/IIS/test/Common.FunctionalTests/HttpsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
3131

3232
[Collection(PublishedSitesCollection.Name)]
3333
[SkipIfNotAdmin]
34+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3435
public class ClientCertificateTests : IISFunctionalTestBase
3536
{
3637
private readonly ClientCertificateFixture _certFixture;

src/Servers/IIS/IIS/test/Common.FunctionalTests/Latin1Tests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2727
#endif
2828

2929
[Collection(PublishedSitesCollection.Name)]
30+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3031
public class Latin1Tests : IISFunctionalTestBase
3132
{
3233
public Latin1Tests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/Common.FunctionalTests/LoggingTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2929
#endif
3030

3131
[Collection(PublishedSitesCollection.Name)]
32+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3233
public class LoggingTests : IISFunctionalTestBase
3334
{
3435
public LoggingTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/Common.FunctionalTests/MaxRequestBodySizeTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2626
#endif
2727

2828
[Collection(PublishedSitesCollection.Name)]
29+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2930
public class MaxRequestBodySizeTests : IISFunctionalTestBase
3031
{
3132
public MaxRequestBodySizeTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/Common.FunctionalTests/MultiApplicationTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2828
#endif
2929

3030
[Collection(PublishedSitesCollection.Name)]
31+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3132
public class MultiApplicationTests : IISFunctionalTestBase
3233
{
3334
private PublishedApplication _publishedApplication;

src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2121
#endif
2222

2323
[Collection(IISSubAppSiteCollection.Name)]
24+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2425
public class RequestPathBaseTests : FixtureLoggedTest
2526
{
2627
private readonly IISSubAppSiteFixture _fixture;
@@ -31,6 +32,7 @@ public RequestPathBaseTests(IISSubAppSiteFixture fixture) : base(fixture)
3132
}
3233

3334
[ConditionalTheory]
35+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3436
[RequiresNewHandler]
3537
[InlineData("/Sub/App/PathAndPathBase", "/Sub/App/PathAndPathBase", "")]
3638
[InlineData("/SUb/APp/PathAndPAthBase", "/SUb/APp/PathAndPAthBase", "")]
@@ -51,6 +53,7 @@ public async Task RequestPathBase_Split(string url, string expectedPathBase, str
5153
}
5254

5355
[ConditionalTheory]
56+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
5457
[RequiresNewHandler]
5558
[InlineData("//Sub/App/PathAndPathBase", "//Sub/App/PathAndPathBase", "")]
5659
[InlineData(@"/\Sub/App/PathAndPathBase/", @"/\Sub/App/PathAndPathBase", "/")]

src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestResponseTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
3030
#endif
3131

3232
[Collection(IISTestSiteCollection.Name)]
33+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3334
public class RequestResponseTests
3435
{
3536
private readonly IISTestSiteFixture _fixture;

src/Servers/IIS/IIS/test/Common.FunctionalTests/WindowsAuthTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2626
#endif
2727

2828
[Collection(PublishedSitesCollection.Name)]
29+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2930
public class WindowsAuthTests : IISFunctionalTestBase
3031
{
3132
public WindowsAuthTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/Common.LongTests/ShutdownTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2727

2828
// Contains all tests related to shutdown, including app_offline, abort, and app recycle
2929
[Collection(PublishedSitesCollection.Name)]
30+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3031
public class ShutdownTests : IISFunctionalTestBase
3132
{
3233
public ShutdownTests(PublishedSitesFixture fixture) : base(fixture)
@@ -314,6 +315,7 @@ public async Task AppOfflineDropped_CanRemoveAppOfflineAfterAddingAndSiteWorks_O
314315
}
315316

316317
[ConditionalFact]
318+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
317319
[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Shutdown hangs https://github.com/dotnet/aspnetcore/issues/25107")]
318320
public async Task AppOfflineAddedAndRemovedStress_InProcess()
319321
{
@@ -482,6 +484,7 @@ public async Task OutOfProcessToInProcessHostingModelSwitchWorks()
482484
}
483485

484486
[ConditionalFact]
487+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
485488
public async Task ConfigurationTouchedStress_InProcess()
486489
{
487490
await ConfigurationTouchedStress(HostingModel.InProcess);

src/Servers/IIS/IIS/test/Common.LongTests/StartupTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
3131

3232
// Contains all tests related to Startup, requiring starting ANCM/IIS every time.
3333
[Collection(PublishedSitesCollection.Name)]
34+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3435
public class StartupTests : IISFunctionalTestBase
3536
{
3637
public StartupTests(PublishedSitesFixture fixture) : base(fixture)
@@ -1294,6 +1295,7 @@ public async Task PreferEnvironmentVariablesOverWebConfigWhenConfigured(HostingM
12941295
[ConditionalFact]
12951296
[RequiresNewHandler]
12961297
[RequiresNewShim]
1298+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
12971299
public async Task ServerAddressesIncludesBaseAddress()
12981300
{
12991301
var appName = "\u041C\u043E\u0451\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435";

src/Servers/IIS/IIS/test/IIS.FunctionalTests/Http2TrailersResetTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2626
/// on IIS Express even on the new Windows versions because IIS Express has its own outdated copy of IIS.
2727
/// </summary>
2828
[Collection(IISHttpsTestSiteCollection.Name)]
29+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2930
public class Http2TrailerResetTests : FunctionalTestsBase
3031
{
3132
private const string WindowsVersionForTrailers = "10.0.20238";

src/Servers/IIS/IIS/test/IIS.FunctionalTests/Http3Tests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2727
[MsQuicSupported]
2828
[HttpSysHttp3Supported]
2929
[Collection(IISHttpsTestSiteCollection.Name)]
30+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3031
public class Http3Tests : FunctionalTestsBase
3132
{
3233
public Http3Tests(IISTestSiteFixture fixture)

src/Servers/IIS/IIS/test/IIS.NewHandler.FunctionalTests/NewHandlerTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Microsoft.AspNetCore.Server.IIS.NewHandler.FunctionalTests;
1313

1414
[Collection(PublishedSitesCollection.Name)]
15+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1516
public class NewHandlerTests : IISFunctionalTestBase
1617
{
1718
public NewHandlerTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/IIS.NewShim.FunctionalTests/NewShimTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace Microsoft.AspNetCore.Server.IIS.NewShim.FunctionalTests;
1111

1212
[Collection(PublishedSitesCollection.Name)]
13+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1314
public class NewShimTests : IISFunctionalTestBase
1415
{
1516
public NewShimTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/IIS.ShadowCopy.Tests/ShadowCopyTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
1212

1313
[Collection(PublishedSitesCollection.Name)]
14+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1415
public class ShadowCopyTests : IISFunctionalTestBase
1516
{
1617
public ShadowCopyTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/ApplicationInitializationTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2828
#endif
2929

3030
[Collection(PublishedSitesCollection.Name)]
31+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
3132
public class ApplicationInitializationTests : IISFunctionalTestBase
3233
{
3334
public ApplicationInitializationTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/StdOutRedirectionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
2525
#endif
2626

2727
[Collection(PublishedSitesCollection.Name)]
28+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2829
public class StdOutRedirectionTests : IISFunctionalTestBase
2930
{
3031
public StdOutRedirectionTests(PublishedSitesFixture fixture) : base(fixture)

src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
1515

1616
[SkipIfHostableWebCoreNotAvailable]
1717
[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
18+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1819
public class ClientDisconnectTests : StrictTestServerTests
1920
{
2021
[ConditionalFact]

src/Servers/IIS/IIS/test/IIS.Tests/ConnectionIdFeatureTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
1010

1111
[SkipIfHostableWebCoreNotAvailable]
1212
[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
13+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1314
public class ConnectionIdFeatureTests : StrictTestServerTests
1415
{
1516
[ConditionalFact]

src/Servers/IIS/IIS/test/IIS.Tests/HttpBodyControlFeatureTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
1111

1212
[SkipIfHostableWebCoreNotAvailable]
1313
[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
14+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1415
public class HttpBodyControlFeatureTests : StrictTestServerTests
1516
{
1617
[ConditionalFact]

src/Servers/IIS/IIS/test/IIS.Tests/MaxRequestBodySizeTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace IIS.Tests;
1818

1919
[SkipIfHostableWebCoreNotAvailable]
2020
[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
21+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
2122
public class MaxRequestBodySizeTests : LoggedTest
2223
{
2324
[ConditionalFact]

src/Servers/IIS/IIS/test/IIS.Tests/ResponseAbortTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
1313

1414
[SkipIfHostableWebCoreNotAvailable]
1515
[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
16+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1617
public class ResponseAbortTests : StrictTestServerTests
1718
{
1819
[ConditionalFact]

src/Servers/IIS/IIS/test/IIS.Tests/ResponseBodySizeTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace IIS.Tests;
88

99
[SkipIfHostableWebCoreNotAvailable]
1010
[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
11+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1112
public class ResponseBodySizeTests : LoggedTest
1213
{
1314
[ConditionalFact]

src/Servers/IIS/IIS/test/IIS.Tests/TestServerTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests;
1111

1212
[SkipIfHostableWebCoreNotAvailable]
1313
[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
14+
[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
1415
public class TestServerTest : StrictTestServerTests
1516
{
1617
[ConditionalFact]

0 commit comments

Comments
 (0)