mor
This commit is contained in:
parent
ff1f474324
commit
e151208e15
1 changed files with 2933 additions and 784 deletions
53
frontend/test-client/corpus/stale-rename.json
Normal file
53
frontend/test-client/corpus/stale-rename.json
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
"version": 2,
|
||||
"seed": 2,
|
||||
"iterations": 1,
|
||||
"clients": 3,
|
||||
"program": {
|
||||
"clients": 3,
|
||||
"cacheBytes": 1024,
|
||||
"initial": [
|
||||
{
|
||||
"type": "create",
|
||||
"key": "note",
|
||||
"path": "note.md",
|
||||
"content": "header\n\nfirst\n\nsecond\n\nfooter\n"
|
||||
}
|
||||
],
|
||||
"epochs": [
|
||||
{
|
||||
"writer": 0,
|
||||
"actions": [
|
||||
{
|
||||
"type": "concurrent",
|
||||
"key": "note",
|
||||
"writes": [
|
||||
{
|
||||
"client": 0,
|
||||
"content": "header\n\nLOCAL\n\nsecond\n\nfooter\n"
|
||||
},
|
||||
{
|
||||
"client": 1,
|
||||
"content": "header\n\nfirst\n\nREMOTE\n\nfooter\n"
|
||||
}
|
||||
],
|
||||
"expected": ["header\n\nLOCAL\n\nREMOTE\n\nfooter\n"]
|
||||
}
|
||||
],
|
||||
"hold": {
|
||||
"kind": "content",
|
||||
"point": "before"
|
||||
},
|
||||
"contender": 1,
|
||||
"tail": [
|
||||
{
|
||||
"type": "rename",
|
||||
"key": "note",
|
||||
"path": "renamed.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"steps": []
|
||||
}
|
||||
Loading…
Reference in a new issue