Align active-lock regression with typed mutation result
This commit is contained in:
parent
15515230fa
commit
a5aa84ec8d
1 changed files with 5 additions and 2 deletions
|
|
@ -931,8 +931,11 @@ spec:
|
||||||
--data-binary @/tmp/epoch-one \
|
--data-binary @/tmp/epoch-one \
|
||||||
"$base/upload?root=personal&path=active-window.bin&operation_id=73000000-0000-4000-8000-000000000003"
|
"$base/upload?root=personal&path=active-window.bin&operation_id=73000000-0000-4000-8000-000000000003"
|
||||||
)"
|
)"
|
||||||
test "$lock_status" = 409
|
printf 'Active key lock status=%s body=' "$lock_status"
|
||||||
grep -F '"error":"mutation_rejected"' /tmp/active-lock.json
|
cat /tmp/active-lock.json
|
||||||
|
printf '\n'
|
||||||
|
test "$lock_status" = 200
|
||||||
|
grep -F '"result":"rejected"' /tmp/active-lock.json
|
||||||
wait "$active_pid"
|
wait "$active_pid"
|
||||||
grep -F '"result":"succeeded"' /tmp/active-first.json
|
grep -F '"result":"succeeded"' /tmp/active-first.json
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue