1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/storages/tests
catborise 84d633af08 fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come
A download writes its volume under its final name, so the volume was
offered while half written. #685 kept a copy and an attach away from
it; a new VM and a CD-ROM still took it. The VM create job now claims
the volumes it is made from (a writable one exclusive, a template or a
CD-ROM image shared), and adding a CD-ROM or inserting media holds the
ISO's volume shared and reads the ISO again in that pool under the
claim (iso_location, iso_path_in). Each is refused with the download
named.

A claim's key holds a pool's and a volume's names: longer than 255
characters on PostgreSQL it failed the request; Claim.resource is text.

A pool that belongs to more than one backup target is not stopped while
a backup to any of them runs (it took the first target only).

The download read 1 MiB at a time: on a slow server a cancel and the
progress waited for a whole MiB. It reads what has come (read1).
2026-11-20 16:59:01 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_audit_rows.py perf(storages): the pool page does not list the host's pools 2026-11-08 12:02:49 +03:00
test_download.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
test_live_download.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
test_live_pools.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_new_pool.py fix(virtsecrets): a secret in use is not deleted, and a password is stored as typed 2026-10-29 10:10:43 +03:00
test_pool_in_use.py fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
test_pool_page.py fix: a backup's files say so on the pool page; Removed VMs names schedules and backups 2026-11-20 09:03:52 +03:00
test_pool_target.py fix(storages): a pool is not made of a system directory or of another pool's 2026-11-13 10:41:03 +03:00
test_sftp_pipelined.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
test_ssh_pool.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_upload_job.py fix(jobs): a busy message names what the job in the way works on 2026-11-19 21:35:28 +03:00
test_views.py fix(storages): a volume another compute's VM uses on shared storage is not deleted 2026-11-13 10:41:18 +03:00
test_volume_clone_job.py fix: a volume a job writes is not copied, attached or its pool stopped; download progress each second 2026-11-20 15:38:06 +03:00
test_volume_fetch_job.py fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00