diff --git a/src/installer/tests/Directory.Build.props b/src/installer/tests/Directory.Build.props index 2d1ac008cbbdec..9f13bf1a393352 100644 --- a/src/installer/tests/Directory.Build.props +++ b/src/installer/tests/Directory.Build.props @@ -10,8 +10,9 @@ $(ArtifactsObjDir)ExtraNupkgsForTestRestore\ $(TargetArchitecture) $(NetCoreAppToolCurrent) - -notrait category=failing - -trait category=failing + -notrait category=failing + $(TestRunnerAdditionalArguments) -notrait category=FlakyAppHostTests + $(TestRunnerAdditionalArguments) -trait category=FlakyAppHostTests false diff --git a/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/SingleFileApiTests.cs b/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/SingleFileApiTests.cs index 0efa9a7819189c..07df3a577e8490 100644 --- a/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/SingleFileApiTests.cs +++ b/src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/SingleFileApiTests.cs @@ -6,10 +6,9 @@ using Microsoft.NET.HostModel.Bundle; using Xunit; -[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/44657", TestPlatforms.Linux)] - namespace AppHost.Bundle.Tests { + [Trait("category", "FlakyAppHostTests")] public class SingleFileApiTests : BundleTestBase, IClassFixture { private SingleFileSharedState sharedTestState;