You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
@@ -771,7 +775,8 @@ public void FileSizeExpandsToCapacity()
771
775
/// <summary>
772
776
/// Test the exceptional behavior when attempting to create a map so large it's not supported.
773
777
/// </summary>
774
-
[Fact,PlatformSpecific(PlatformID.Windows|PlatformID.Linux)]// Because of the file-based backing, OS X pops up a warning dialog about being out-of-space (even though we clean up immediately)
778
+
[PlatformSpecific(~PlatformID.OSX)]// Because of the file-based backing, OS X pops up a warning dialog about being out-of-space (even though we clean up immediately)
Copy file name to clipboardExpand all lines: src/System.IO.MemoryMappedFiles/tests/MemoryMappedFile.CreateNew.Tests.cs
+34-12Lines changed: 34 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,8 @@ public void InvalidArguments_Inheritability(HandleInheritability inheritability)
86
86
/// <summary>
87
87
/// Test the exceptional behavior when attempting to create a map so large it's not supported.
88
88
/// </summary>
89
-
[Fact,PlatformSpecific(PlatformID.Windows)]
89
+
[PlatformSpecific(PlatformID.Windows)]
90
+
[Fact]
90
91
publicvoidTooLargeCapacity_Windows()
91
92
{
92
93
if(IntPtr.Size==4)
@@ -102,7 +103,8 @@ public void TooLargeCapacity_Windows()
102
103
/// <summary>
103
104
/// Test the exceptional behavior when attempting to create a map so large it's not supported.
104
105
/// </summary>
105
-
[Fact,PlatformSpecific(PlatformID.Linux)]// Because of the file-based backing, OS X pops up a warning dialog about being out-of-space (even though we clean up immediately)
106
+
[PlatformSpecific(PlatformID.AnyUnix&~PlatformID.OSX)]// Because of the file-based backing, OS X pops up a warning dialog about being out-of-space (even though we clean up immediately)
107
+
[Fact]
106
108
publicvoidTooLargeCapacity_Unix()
107
109
{
108
110
// On Windows we fail with too large a capacity as part of the CreateNew call.
@@ -122,7 +124,8 @@ public void TooLargeCapacity_Unix()
122
124
/// <summary>
123
125
/// Test to verify that map names are left unsupported on Unix.
0 commit comments