Skip to content

Commit 28de709

Browse files
Copilotstephentoub
andcommitted
Mark memory-intensive tests for OuterLoop and 64-bit only
Co-authored-by: stephentoub <[email protected]>
1 parent 004250c commit 28de709

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Utf8JsonWriterTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8067,7 +8067,8 @@ from inputValue in others
80678067
from anotherValue in anothers
80688068
select new object[] { options, inputValue, anotherValue };
80698069

8070-
[Fact]
8070+
[ConditionalFact(typeof(Environment), nameof(Environment.Is64BitProcess))]
8071+
[OuterLoop]
80718072
public static void WritePropertyWithExtremelyLongName_ThrowsArgumentException()
80728073
{
80738074
var output = new ArrayBufferWriter<byte>();
@@ -8080,7 +8081,8 @@ public static void WritePropertyWithExtremelyLongName_ThrowsArgumentException()
80808081
Assert.Throws<ArgumentException>(() => writer.WritePropertyName(longName.AsSpan()));
80818082
}
80828083

8083-
[Fact]
8084+
[ConditionalFact(typeof(Environment), nameof(Environment.Is64BitProcess))]
8085+
[OuterLoop]
80848086
public static void WriteValueWithExtremelyLongValue_ThrowsArgumentException()
80858087
{
80868088
var output = new ArrayBufferWriter<byte>();

0 commit comments

Comments
 (0)