mor
This commit is contained in:
parent
ff1f474324
commit
e151208e15
1 changed files with 2933 additions and 784 deletions
73
frontend/test-client/corpus/uncertain-edits.json
Normal file
73
frontend/test-client/corpus/uncertain-edits.json
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
"version": 2,
|
||||
"seed": 0,
|
||||
"iterations": 3,
|
||||
"clients": 3,
|
||||
"steps": [],
|
||||
"program": {
|
||||
"clients": 3,
|
||||
"cacheBytes": 1024,
|
||||
"initial": [
|
||||
{
|
||||
"type": "create",
|
||||
"key": "note",
|
||||
"path": "note.md",
|
||||
"content": "BASE\n"
|
||||
}
|
||||
],
|
||||
"epochs": [
|
||||
{
|
||||
"writer": 0,
|
||||
"actions": [
|
||||
{
|
||||
"type": "write",
|
||||
"key": "note",
|
||||
"content": "BASE\nEDIT\n"
|
||||
}
|
||||
],
|
||||
"hold": { "kind": "content", "point": "before" },
|
||||
"drop": { "kind": "content", "point": "after" },
|
||||
"tail": [
|
||||
{ "type": "rename", "key": "note", "path": "renamed.md" },
|
||||
{
|
||||
"type": "write",
|
||||
"key": "note",
|
||||
"content": "BASE\nEDIT\nLATER\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"writer": 1,
|
||||
"actions": [
|
||||
{ "type": "delete", "key": "note" },
|
||||
{
|
||||
"type": "create",
|
||||
"key": "replacement",
|
||||
"path": "renamed.md",
|
||||
"content": "NEW GENERATION\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"writer": 2,
|
||||
"actions": [
|
||||
{
|
||||
"type": "create",
|
||||
"key": "crash",
|
||||
"path": "crash.md",
|
||||
"content": "ACCEPTED\n"
|
||||
}
|
||||
],
|
||||
"crash": { "stopAt": "create" },
|
||||
"serverCrash": true,
|
||||
"tail": [
|
||||
{
|
||||
"type": "write",
|
||||
"key": "crash",
|
||||
"content": "ACCEPTED\nEDIT AFTER KILL\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue