fix: a test restore has its own stall threshold, and the dumps list test knows its new fields
CI and images / lint (push) Successful in 2s
CI and images / extension-version (push) Successful in 2s
CI and images / frontend-build (push) Successful in 22s
CI and images / extension-test (push) Successful in 23s
CI and images / backend-lint-and-test (push) Successful in 47s
CI and images / integration (push) Successful in 2m38s
CI and images / sign-extension (push) Successful in 3s
CI and images / build-agent (push) Successful in 5s
CI and images / build-web (push) Successful in 2m4s
CI and images / smoke-web (push) Successful in 50s
CI and images / promote (push) Successful in 1s
CI and images / refresh-dev (push) Skipped
CI and images / unattended-failure (push) Skipped
CI and images / lint (push) Successful in 2s
CI and images / extension-version (push) Successful in 2s
CI and images / frontend-build (push) Successful in 22s
CI and images / extension-test (push) Successful in 23s
CI and images / backend-lint-and-test (push) Successful in 47s
CI and images / integration (push) Successful in 2m38s
CI and images / sign-extension (push) Successful in 3s
CI and images / build-agent (push) Successful in 5s
CI and images / build-web (push) Successful in 2m4s
CI and images / smoke-web (push) Successful in 50s
CI and images / promote (push) Successful in 1s
CI and images / refresh-dev (push) Skipped
CI and images / unattended-failure (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -528,10 +528,13 @@ async def test_the_bucket_dumps_are_listed_with_their_confirmation(
|
||||
])
|
||||
resp = await client.get("/api/system/backup/offsite/dumps")
|
||||
assert resp.status_code == 200
|
||||
assert (await resp.get_json())["dumps"] == [{
|
||||
body = await resp.get_json()
|
||||
assert body["dumps"] == [{
|
||||
"key": _DUMP, "ts": "20261107T134258Z", "size_bytes": 3222868924,
|
||||
"confirm": "restore-offsite-20261107T134258Z",
|
||||
"counted": False, "confirm": "restore-offsite-20261107T134258Z",
|
||||
}]
|
||||
# What a test restore needs free on the database's disk.
|
||||
assert body["database_bytes"] > 0
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user