]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Handle test retries through the same queue
authorJouni Malinen <j@w1.fi>
Sat, 27 Jul 2019 17:19:28 +0000 (20:19 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 27 Jul 2019 17:19:28 +0000 (20:19 +0300)
commit4aaddecdd85adf8244b340b393e32151f1ceaddb
tree15c3e99a2c62bb86012a81c3e3073e4727befd75
parent968520da8f301784c06f4817fdca5403552e5bb5
tests: Handle test retries through the same queue

This removes the separate rerun step from the parallel-vm.py processing
and instead, simply requeues the failed test cases into the same queue
that is used for the initial run. This is simpler and more efficient
since reruns start as soon as any VM is ready for processing them
instead of having to wait for all VMs to complete the first round.
Furthermore, this allows VMs to be stopped sooner when no more test
cases remain and that is helpful especially with the time travel patches
that make the wait-for-next-test step in the VM use all available CPU.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/vm/parallel-vm.py