fix: fence deferred compatibility writes
This commit is contained in:
parent
9adeb013cd
commit
1d258626e0
2 changed files with 10 additions and 1 deletions
|
|
@ -127,4 +127,7 @@ def test_read_only_group_rejects_write(tmp_path) -> None:
|
|||
|
||||
assert response.status_code == 503
|
||||
assert response.json()["detail"] == "compatibility group is read-only"
|
||||
deferred = client.post("/annotations", headers=HEADERS)
|
||||
assert deferred.status_code == 503
|
||||
assert deferred.json()["detail"] == "compatibility group is read-only"
|
||||
asyncio.run(store.aclose())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue