iotests/129: Actually test a commit job
commit55557b02459915e8833b8f9645a5a13f74b7e157
authorMax Reitz <mreitz@redhat.com>
Mon, 18 Jan 2021 10:57:17 +0000 (18 11:57 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 26 Jan 2021 13:36:37 +0000 (26 14:36 +0100)
treeef8d65fb2813d5ea36332b14832e053e070ec70d
parenta1933dac8fc12db45bc7b242d2d044d489327439
iotests/129: Actually test a commit job

Before this patch, test_block_commit() performs an active commit, which
under the hood is a mirror job.  If we want to test various different
block jobs, we should perhaps run an actual commit job instead.

Doing so requires adding an overlay above the source node before the
commit is done (and then specifying the source node as the top node for
the commit job).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210118105720.14824-8-mreitz@redhat.com>
tests/qemu-iotests/129