未验证 提交 9b2e2a83 编写于 作者: S Steve Pfister 提交者: GitHub

Add RemoteExecutor check in TestWaitForExitValidation (#67397)

https://github.com/dotnet/runtime/pull/64860 added a TestWaitForExitValidation test that would fail when run on platforms that did not support RemoteExecutor.

This change adds a `ConditionalTheory` to make sure that doesn't happen.
上级 64096424
......@@ -74,7 +74,7 @@ private void AssertNonZeroAllZeroDarwin(long value)
}
}
[Theory]
[ConditionalTheory(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[InlineData(-2)]
[InlineData((long)int.MaxValue + 1)]
public void TestWaitForExitValidation(long milliseconds)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册