Skip to content

Commit 4d68987

Browse files
authored
Fix test cloud test failure (#1594)
1 parent af067cc commit 4d68987

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/GenerationSandbox.Tests/ComRuntimeTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public void IWbemServices_GetObject_Works()
157157
}
158158

159159
[Fact]
160+
[Trait("TestCategory", "FailsInCloudTest")] // WMI APIs don't work in cloud VMs.
160161
public void CanCallIDispatchOnlyMethods()
161162
{
162163
Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Test calls Windows-specific APIs");

0 commit comments

Comments
 (0)