You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set up multiple clients and documents with manual sync;
generate Object assignment and deletion operations with intermediate syncs;
run the final sync drain after the generated operations finish;
assert that all replicas have identical toSortedJSON() output;
report reproducible failures using the fast-check seed and path.
For the initial scope, the test will use root-level keys and primitive JSON
values (number, string, boolean, and null). Nested Object and Array
values are out of scope for this first target.
Why:
Existing Object integration tests cover hand-written concurrent scenarios,
but cannot explore many combinations of client selection, keys, values,
operations, and sync ordering.
Property-based tests can generate these combinations and verify that all
replicas converge after concurrent Object assignment and deletion operations.
Description:
Related to #1288.
Add property-based convergence tests for
Json.Object.The test will:
toSortedJSON()output;For the initial scope, the test will use root-level keys and primitive JSON
values (
number,string,boolean, andnull). Nested Object and Arrayvalues are out of scope for this first target.
Why:
Existing Object integration tests cover hand-written concurrent scenarios,
but cannot explore many combinations of client selection, keys, values,
operations, and sync ordering.
Property-based tests can generate these combinations and verify that all
replicas converge after concurrent Object assignment and deletion operations.