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

Commit 04bb308

Browse files
committed
Re-enable several System.Threading tests
With dotnet/coreclr#1387 merged, these can now be enabled.
1 parent 3d919b8 commit 04bb308

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

src/Scenarios/tests/InterProcessCommunication/EventWaitHandleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace InterProcessCommunication.Tests
1010
{
1111
public class EventWaitHandleTests : RemoteExecutorTestBase
1212
{
13-
[ActiveIssue("https://github.com/dotnet/coreclr/issues/1237", PlatformID.AnyUnix)]
13+
[PlatformSpecific(PlatformID.Windows)] // names aren't supported on Unix
1414
[Theory]
1515
[InlineData(EventResetMode.ManualReset)]
1616
[InlineData(EventResetMode.AutoReset)]

src/Scenarios/tests/InterProcessCommunication/SemaphoreTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace InterProcessCommunication.Tests
1010
{
1111
public class SemaphoreTests : RemoteExecutorTestBase
1212
{
13-
[ActiveIssue("https://github.com/dotnet/coreclr/issues/1237", PlatformID.AnyUnix)]
13+
[PlatformSpecific(PlatformID.Windows)] // names aren't supported on Unix
1414
[Fact]
1515
public void PingPong()
1616
{

src/System.Threading/tests/EventWaitHandleTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public void Ctor_InvalidNames()
3131
Assert.Throws<ArgumentException>(() => new EventWaitHandle(true, EventResetMode.AutoReset, new string('a', 1000)));
3232
}
3333

34-
[ActiveIssue("https://github.com/dotnet/coreclr/issues/1237")]
3534
[PlatformSpecific(PlatformID.AnyUnix)]
3635
[Fact]
3736
public void Ctor_NamesArentSupported_Unix()
@@ -130,7 +129,6 @@ public void OpenExisting_Windows()
130129
}
131130
}
132131

133-
[ActiveIssue("https://github.com/dotnet/coreclr/issues/1237")]
134132
[PlatformSpecific(PlatformID.AnyUnix)]
135133
[Fact]
136134
public void OpenExisting_NotSupported_Unix()

src/System.Threading/tests/MutexTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public void Ctor_ConstructWaitRelease()
3131
}
3232
}
3333

34-
[ActiveIssue("https://github.com/dotnet/coreclr/issues/1237")]
3534
[PlatformSpecific(PlatformID.AnyUnix)]
3635
[Fact]
3736
public void Ctor_NamesNotSupported_Unix()

0 commit comments

Comments
 (0)