1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/computes/tests
catborise 1c3993133e fix: the host comparison reads afresh, skips silent hosts and unread listings; bulk form limit
Audit and review (Codex, agy) of the host comparison and the bulk tag:
- a read of what a host's VMs need was used again for 5 minutes without a
  new one, so a network added to fix a line was still reported: each load
  reads again, the last read standing in only when the new one is late;
- a host that stopped answering kept what it said before, and was reported
  both as not answering and as a destination lacking things: only hosts that
  answer are compared;
- one listing of a host that could not be read (its secrets, say) dropped the
  whole host: each listing is read on its own and only those read compared;
- the kept reads no longer keep whole VM definitions (plain strings);
- choosing more VMs than the bulk form takes made Django refuse the form:
  past 500 the buttons are off and the count says so; the tag view refuses
  them as the power view does.
2026-11-20 13:58:48 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
fakes.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_api_security.py refactor(computes): the lock helpers take claims instead of file locks 2026-10-14 23:27:57 +03:00
test_attention.py fix: the host comparison reads afresh, skips silent hosts and unread listings; bulk form limit 2026-11-20 13:58:48 +03:00
test_audit_rows.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_balance.py fix(computes): a host's maintenance shows only its own bulk migration; the panel's refusals are not libvirt errors 2026-11-16 20:30:54 +03:00
test_balance_js.py fix(computes): the Balance page shows each host's load as bars 2026-11-16 08:11:47 +03:00
test_bulk_migrate.py feat(bulk migrate): choose the VMs by tag 2026-11-18 21:20:19 +03:00
test_bulk_migrate_js.py fix(tags): second audit: unchanged saves, report, other lists, hosts list 2026-11-18 23:15:34 +03:00
test_capacity.py feat(computes): a box on the Computes page tells what wants a look 2026-11-19 23:22:35 +03:00
test_changed_connection.py fix(computes): a changed compute does not use or list its old host 2026-11-12 09:19:03 +03:00
test_compute_form.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
test_compute_password.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_cpu_graph.py fix(computes): a chart places each reading at the time it came 2026-11-13 16:38:42 +03:00
test_gstfsd_key.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_host_identity.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_host_nav.py style(computes): the host's sections on one line in every theme 2026-10-29 15:50:31 +03:00
test_list_hosts.py feat(computes): a box on the Computes page tells what wants a look 2026-11-19 23:22:35 +03:00
test_maintenance.py fix(instances): a host in maintenance offers no new VM from its VM list 2026-11-17 23:07:45 +03:00
test_migration_address.py feat(migrations): a migration's bandwidth can be capped 2026-11-20 09:44:17 +03:00
test_operation_locks.py fix(backups): a schedule of every VM of a compute reads the host's VMs 2026-11-19 15:15:11 +03:00
test_overview.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_overview_status.py feat(computes): the Computes list on Bootstrap's cards, badges, bars and menus 2026-10-27 21:52:08 +03:00
test_ownership.py fix(computes): a VM that returns gets its protection, schedules and backups back 2026-11-20 08:17:23 +03:00
test_ownership_race.py test: the computes tests share one fake libvirt domain 2026-11-06 13:48:03 +03:00
test_reach.py feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
test_reconciliation.py fix(instances): a VM name of any length libvirt takes is kept 2026-11-10 13:11:22 +03:00
test_tags.py fix(tags): the tag pills count as the state pills do 2026-11-19 10:49:45 +03:00
test_unreachable_host_pages.py fix(console,computes): an unreachable host is named as the cause, not an empty list 2026-11-06 23:08:11 +03:00
test_validators.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
test_views.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00