core-admin/qubes/tests/integ
Marek Marczykowski-Górecki 1b7e2a5cbf
tests: ensure proper cleanup of auxiliary process
Various qrexec tests create auxiliary process (service_proc) as a local
variable. In case of test failure, process cleanup isn't called and may
lead to FD leaks and breaking subsequent tests.

Fix this by always saving such process instance in self.service_proc and
cleaning it up in self.tearDown() (this code is already there).

Add also waiting (and in case of timeout - killing) of a service call
process too.
2020-04-01 17:35:57 +02:00
..
tools Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
__init__.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
backup.py Make add_pool/remove_pool coroutines, allow Pool.{setup,destroy} as coroutines 2019-02-27 06:03:57 +01:00
backupcompatibility.py tests: adjust backupcompat for new maxmem handling 2019-01-06 04:33:16 +01:00
basic.py tests: fix a fix for too short delay in 201_shutdown_event_race test 2019-10-13 05:58:19 +02:00
devices_block.py tests: migrate qvm-block tests to core3 2018-10-10 00:44:15 +02:00
devices_pci.py tests: set virt_mode='hvm' for PCI tests 2018-01-26 23:49:11 +01:00
dispvm.py tests: try to collect qvm-open-in-dvm output if no editor window is shown 2018-10-29 01:20:57 +01:00
dom0_update.py tests: fix key generation for dom0 updates tests 2020-01-17 04:50:31 +01:00
grub.py tests: fix sorting kernel version 2019-09-27 16:29:21 +02:00
mime.py tests/mime: confirm closing Firefox 2019-04-13 21:50:34 +02:00
network.py tests/network: let xl devd bring the interfaces up 2019-12-05 23:31:15 +01:00
salt.py tests/salt: don't depend on initial tags set 2020-03-01 22:36:54 +01:00
storage.py tests: check if storage driver adjust the size on import_volume/clone 2019-10-31 01:17:26 +01:00
vm_qrexec_gui.py tests: ensure proper cleanup of auxiliary process 2020-04-01 17:35:57 +02:00