Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Long Running JSON tests on Checked CoreCLR #45505

Merged
merged 2 commits into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/libraries/System.Text.Json/tests/JsonDocumentTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ public static void ParseJson_UnseekableStream_BadBOM(string json)

[Theory]
[MemberData(nameof(BadBOMCases))]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public static Task ParseJson_UnseekableStream_Async_BadBOM(string json)
{
byte[] data = Encoding.UTF8.GetBytes(json);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public async Task PropertyCacheWithMinInputsLast()
private JsonSerializerOptions s_options = new JsonSerializerOptions();

[Fact]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public async Task MultipleTypes()
{
void Serialize<T>(object[] args)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace System.Text.Json.Serialization.Tests
public abstract partial class ConstructorTests
{
[Fact]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public async Task ReadSimpleObjectAsync()
{
async Task RunTestAsync<T>(byte[] testData)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public static async Task InvalidJsonShouldFailAtAnyPosition_Stream(
[Theory]
[MemberData(nameof(TestData), /* enumeratePayloadTweaks: */ false)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/42677", platforms: TestPlatforms.Windows, runtimes: TestRuntimes.Mono)]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public static void ShouldWorkAtAnyPosition_Sequence(
string json,
int bufferSize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ private static void AssertDictionaryElements_StringValues(string serialized)

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/39674", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public static void DictionariesRoundTrip()
{
RunAllDictionariessRoundTripTest(JsonNumberTestData.ULongs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public static async Task NullObjectValue()
}

[Fact]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public static async Task RoundTripAsync()
{
byte[] buffer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1839,6 +1839,7 @@ private static void TrailingCommasHelper(ReadOnlySequence<byte> utf8, JsonReader
[InlineData("{\"Property1\": {\"Property1.1\": 42} // comment\n,5}")]
[InlineData("{\"Property1\": {\"Property1.1\": 42}, // comment\n // comment\n5}")]
[InlineData("{// comment\n5}")]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public static void ReadInvalidJsonStringsWithComments(string jsonString)
{
byte[] input = Encoding.UTF8.GetBytes(jsonString);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3120,6 +3120,7 @@ public void WritingLargestPossibleBase64Bytes(bool formatted, bool skipValidatio
[InlineData(true, false)]
[InlineData(false, true)]
[InlineData(false, false)]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/45464", RuntimeConfiguration.Checked)]
public void Writing3MBBase64Bytes(bool formatted, bool skipValidation)
{
byte[] value = new byte[3 * 1024 * 1024];
Expand Down