diff --git a/src/libraries/System.Runtime/tests/System.Buffers.Tests/ArrayPool/UnitTests.cs b/src/libraries/System.Runtime/tests/System.Buffers.Tests/ArrayPool/UnitTests.cs index 70f38687102d7..a10dc89061f00 100644 --- a/src/libraries/System.Runtime/tests/System.Buffers.Tests/ArrayPool/UnitTests.cs +++ b/src/libraries/System.Runtime/tests/System.Buffers.Tests/ArrayPool/UnitTests.cs @@ -82,7 +82,7 @@ public static void RentingWithInvalidLengthThrows(ArrayPool pool) AssertExtensions.Throws("minimumLength", () => pool.Rent(-1)); } - [Fact] + [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotBrowser))] public static void RentingGiganticArraySucceedsOrOOMs() { try