wip
This commit is contained in:
parent
31a5bac054
commit
4c002f9acd
2 changed files with 14543 additions and 4367 deletions
|
|
@ -13,10 +13,8 @@ export const sameDocIdCollapseAfterRemoteQuickWriteAndPendingRenameTest: TestDef
|
|||
steps: [
|
||||
{ type: "enable-sync", client: 0 },
|
||||
|
||||
// Create a deleted latest version before client 1 joins.
|
||||
// Catch-up will advance MinCovered with a non-contiguous id,
|
||||
// keeping client 1's create lastSeen low enough to exercise
|
||||
// the server's same-doc merge path from the e2e failure.
|
||||
// Seed a deleted document before client 1 bootstraps. Later creates
|
||||
// at the reused path must still receive separate identities.
|
||||
{
|
||||
type: "create",
|
||||
client: 0,
|
||||
|
|
|
|||
|
|
@ -33,11 +33,8 @@ export const selfMergePendingRenameAliasesSecondCreateTest: TestDefinition = {
|
|||
{ type: "enable-sync", client: 1 },
|
||||
{ type: "barrier" },
|
||||
|
||||
// Pause client 0's WS so its MinCovered watermark stays at 0
|
||||
// through the whole bug sequence. The merge condition the
|
||||
// server is going to fire is `creation_vuid > last_seen`; with
|
||||
// a non-zero gap the same-device second create gets merged
|
||||
// into the same-device first create.
|
||||
// Delay socket notifications while client 0 continues local work.
|
||||
// HTTP catchup must preserve the two generations at the reused path.
|
||||
{ type: "pause-websocket", client: 0 },
|
||||
|
||||
// Client 1 commits a doc to push the server's vuid above 0.
|
||||
|
|
|
|||
Loading…
Reference in a new issue