Skip to content

Commit d008c6f

Browse files
authored
don't run WriteChars_VeryLargeArray_DoesNotOverflow test on 32 bit platforms (#66503)
1 parent a6f52bc commit d008c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.IO/tests/BinaryWriter/BinaryWriter.EncodingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public void WriteString_NotUtf8(int stringLengthInChars)
192192
}
193193

194194
[OuterLoop("Allocates a lot of memory")]
195-
[Fact]
195+
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.Is64BitProcess))]
196196
[SkipOnPlatform(TestPlatforms.Android, "OOM on Android could be uncatchable & kill the test runner")]
197197
public unsafe void WriteChars_VeryLargeArray_DoesNotOverflow()
198198
{

0 commit comments

Comments
 (0)