iotests: Refactor blockdev-reopen test for iothreads

We'll want to test more than one successful case in the future, so
prepare the test for that by a refactoring that runs each scenario in a
separate VM.

test_iothreads_switch_{backing,overlay} currently produce errors, but
these are cases that should actually work, by switching either the
backing file node or the overlay node to the AioContext of the other
node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Message-Id: <20200306141413.30705-2-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Kevin Wolf 2020-03-06 15:14:12 +01:00
parent 19ae9ae014
commit 97518e11c3
2 changed files with 39 additions and 12 deletions

View file

@ -1,6 +1,6 @@
..................
.....................
----------------------------------------------------------------------
Ran 18 tests
Ran 21 tests
OK
{"execute": "job-finalize", "arguments": {"id": "commit0"}}