Skip to content

Commit

Permalink
Remove named mutex PNSE tests that will fail soon
Browse files Browse the repository at this point in the history
The tests removed would fail soon after dotnet/coreclr#5030 is merged.

Related to dotnet/coreclr#5030
Related to dotnet#8625
Related to dotnet/coreclr#3422
  • Loading branch information
kouvel committed May 18, 2016
1 parent 4bfcb00 commit 4c4924d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/System.Threading/tests/MutexTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ public void Ctor_ConstructWaitRelease()
}
}

[PlatformSpecific(PlatformID.AnyUnix)]
[Fact]
public void Ctor_NamesNotSupported_Unix()
{
Assert.Throws<PlatformNotSupportedException>(() => new Mutex(false, "anyname"));
}

[PlatformSpecific(PlatformID.Windows)]
[Fact]
public void Ctor_InvalidName()
Expand Down Expand Up @@ -103,15 +96,6 @@ public void OpenExisting_Windows()
}
}

[PlatformSpecific(PlatformID.AnyUnix)]
[Fact]
public void OpenExisting_NotSupported_Unix()
{
Assert.Throws<PlatformNotSupportedException>(() => Mutex.OpenExisting("anything"));
Mutex ewh;
Assert.Throws<PlatformNotSupportedException>(() => Mutex.TryOpenExisting("anything", out ewh));
}

[PlatformSpecific(PlatformID.Windows)]
[Fact]
public void OpenExisting_InvalidNames_Windows()
Expand Down

0 comments on commit 4c4924d

Please sign in to comment.