Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Large json serialization/deserialization tests #39668

Merged
merged 18 commits into from
Nov 14, 2019

Conversation

buyaa-n
Copy link

@buyaa-n buyaa-n commented Jul 22, 2019

Tought its better to use large object close to real world example. So used BlogSpot json class from @layomia's Real world tests PR #39094.
Added 2 tests: one for large size object producing json with size from 6kB to 15MB, another for an object with deep nested structure up to max supported depth.

@buyaa-n buyaa-n added area-System.Text.Json test enhancement Improvements of test source code labels Jul 22, 2019
@ericstj
Copy link
Member

ericstj commented Jul 23, 2019

@buyaa-n
Copy link
Author

buyaa-n commented Aug 2, 2019

@bartonjs @ahsonkhan comments addressed, please re-review

@karelz karelz added this to the 5.0 milestone Aug 3, 2019
@eiriktsarpalis eiriktsarpalis changed the title Large json serializaiton/deserialization tests Large json serialization/deserialization tests Aug 8, 2019
@buyaa-n
Copy link
Author

buyaa-n commented Aug 15, 2019

@ahsonkhan @bartonjs please re review

@ericstj ericstj requested review from ahsonkhan and bartonjs August 29, 2019 19:58
@ericstj
Copy link
Member

ericstj commented Aug 29, 2019

Looks like @buyaa-n addressed feedback, can folks please re-review? I've kicked off another test run since previous one was a couple weeks old.

@buyaa-n
Copy link
Author

buyaa-n commented Sep 26, 2019

@ahsonkhan @bartonjs please re review

@maryamariyan
Copy link
Member

maryamariyan commented Nov 6, 2019

Thank you for your contribution. As announced in dotnet/coreclr#27549 this repository will be moving to dotnet/runtime on November 13. If you would like to continue working on this PR after this date, the easiest way to move the change to dotnet/runtime is:

  1. In your corefx repository clone, create patch by running git format-patch origin
  2. In your runtime repository clone, apply the patch by running git apply --directory src/libraries <path to the patch created in step 1>

Copy link

@ahsonkhan ahsonkhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, looks good.

@ahsonkhan
Copy link

Unrelated System.Net.Http.Functional.Tests failure: https://github.com/dotnet/corefx/issues/26539#issuecomment-553630592

@ahsonkhan ahsonkhan merged commit 2033412 into dotnet:master Nov 14, 2019
@buyaa-n buyaa-n deleted the large-json-tests branch November 15, 2019 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.Json test enhancement Improvements of test source code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants