Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6f06dcc

Browse files
authored
Disable a SignalAndWait test so that relevant change in CoreCLR can be brought into CoreFX (#27131)
1 parent 11182e0 commit 6f06dcc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/System.Runtime/tests/System/Threading/WaitHandleTests.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -320,17 +320,6 @@ public static void SignalAndWait_InvalidArgs()
320320
Assert.False(toSignal.WaitOne(0));
321321
}
322322

323-
[Fact]
324-
[PlatformSpecific(TestPlatforms.AnyUnix)] // Unix doesn't support SignalAndWait
325-
public static void SignalAndWait_PlatformNotSupported()
326-
{
327-
var toSignal = new ManualResetEvent(false);
328-
var toWaitOn = new ManualResetEvent(true);
329-
Assert.Throws<PlatformNotSupportedException>(() => WaitHandle.SignalAndWait(toSignal, toWaitOn));
330-
Assert.Throws<PlatformNotSupportedException>(() => WaitHandle.SignalAndWait(toSignal, toWaitOn, 0, false));
331-
Assert.Throws<PlatformNotSupportedException>(() => WaitHandle.SignalAndWait(toSignal, toWaitOn, TimeSpan.Zero, false));
332-
}
333-
334323
[Fact]
335324
public static void Close()
336325
{

0 commit comments

Comments
 (0)