From 4bdfd4d5843a9b3a03d956c962a2de7c98e1813e Mon Sep 17 00:00:00 2001 From: stephentoub Date: Fri, 14 Aug 2015 15:33:46 -0400 Subject: [PATCH] Re-enable several System.Threading tests With https://github.com/dotnet/coreclr/pull/1387 merged, these can now be enabled. --- .../tests/InterProcessCommunication/EventWaitHandleTests.cs | 2 +- src/Scenarios/tests/InterProcessCommunication/SemaphoreTests.cs | 2 +- src/System.Threading/tests/EventWaitHandleTests.cs | 2 -- src/System.Threading/tests/MutexTests.cs | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Scenarios/tests/InterProcessCommunication/EventWaitHandleTests.cs b/src/Scenarios/tests/InterProcessCommunication/EventWaitHandleTests.cs index 8e7a7c675f8f..91c07d5a6e9d 100644 --- a/src/Scenarios/tests/InterProcessCommunication/EventWaitHandleTests.cs +++ b/src/Scenarios/tests/InterProcessCommunication/EventWaitHandleTests.cs @@ -10,7 +10,7 @@ namespace InterProcessCommunication.Tests { public class EventWaitHandleTests : RemoteExecutorTestBase { - [ActiveIssue("https://github.com/dotnet/coreclr/issues/1237", PlatformID.AnyUnix)] + [PlatformSpecific(PlatformID.Windows)] // names aren't supported on Unix [Theory] [InlineData(EventResetMode.ManualReset)] [InlineData(EventResetMode.AutoReset)] diff --git a/src/Scenarios/tests/InterProcessCommunication/SemaphoreTests.cs b/src/Scenarios/tests/InterProcessCommunication/SemaphoreTests.cs index d2da9274f46f..3c21d01b4ba2 100644 --- a/src/Scenarios/tests/InterProcessCommunication/SemaphoreTests.cs +++ b/src/Scenarios/tests/InterProcessCommunication/SemaphoreTests.cs @@ -10,7 +10,7 @@ namespace InterProcessCommunication.Tests { public class SemaphoreTests : RemoteExecutorTestBase { - [ActiveIssue("https://github.com/dotnet/coreclr/issues/1237", PlatformID.AnyUnix)] + [PlatformSpecific(PlatformID.Windows)] // names aren't supported on Unix [Fact] public void PingPong() { diff --git a/src/System.Threading/tests/EventWaitHandleTests.cs b/src/System.Threading/tests/EventWaitHandleTests.cs index 5d46916d8f15..b7bf1ff648af 100644 --- a/src/System.Threading/tests/EventWaitHandleTests.cs +++ b/src/System.Threading/tests/EventWaitHandleTests.cs @@ -31,7 +31,6 @@ public void Ctor_InvalidNames() Assert.Throws(() => new EventWaitHandle(true, EventResetMode.AutoReset, new string('a', 1000))); } - [ActiveIssue("https://github.com/dotnet/coreclr/issues/1237")] [PlatformSpecific(PlatformID.AnyUnix)] [Fact] public void Ctor_NamesArentSupported_Unix() @@ -130,7 +129,6 @@ public void OpenExisting_Windows() } } - [ActiveIssue("https://github.com/dotnet/coreclr/issues/1237")] [PlatformSpecific(PlatformID.AnyUnix)] [Fact] public void OpenExisting_NotSupported_Unix() diff --git a/src/System.Threading/tests/MutexTests.cs b/src/System.Threading/tests/MutexTests.cs index 3d461dd10d30..9b46db70a3df 100644 --- a/src/System.Threading/tests/MutexTests.cs +++ b/src/System.Threading/tests/MutexTests.cs @@ -31,7 +31,6 @@ public void Ctor_ConstructWaitRelease() } } - [ActiveIssue("https://github.com/dotnet/coreclr/issues/1237")] [PlatformSpecific(PlatformID.AnyUnix)] [Fact] public void Ctor_NamesNotSupported_Unix()