Skip to content

Commit c731097

Browse files
author
Jason Zhai
committed
Modify Publish60Hosted_Works test to run only on Windows
1 parent b540505 commit c731097

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BlazorLegacyIntegrationTest60.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public void Build60Hosted_Works()
4444
new FileInfo(Path.Combine(serverBuildOutputDirectory, $"{testAsset}.Shared.dll")).Should().Exist();
4545
}
4646

47-
[CoreMSBuildOnlyFact]
47+
[PlatformSpecificFact(TestPlatforms.Windows)]
48+
[SkipOnPlatform(TestPlatforms.Linux | TestPlatforms.OSX, "https://github.com/dotnet/sdk/issues/42145")]
4849
public void Publish60Hosted_Works()
4950
{
5051
// Arrange

0 commit comments

Comments
 (0)