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

Commit 23165ce

Browse files
GrabYourPitchforksahsonkhan
authored andcommitted
Skip large arrays test on full framework (#28126)
1 parent e45295b commit 23165ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/System.Memory/tests/Memory/OwnedMemory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public static void OwnedMemoryPinArray()
119119

120120
[Fact]
121121
[OuterLoop]
122+
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Desktop framework doesn't support large arrays by default.")]
122123
public static void OwnedMemoryPinLargeArray()
123124
{
124125
int[] array = new int[0x2000_0000]; // will produce array with total byte length > 2 GB

0 commit comments

Comments
 (0)