53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"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": []
|
|
}
|