iotests: Compare error messages in 030
commit3f92d54c00ad707cb43c027a5dfc2a68510176f9
authorMax Reitz <mreitz@redhat.com>
Wed, 3 Jul 2019 17:28:09 +0000 (3 19:28 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 15 Jul 2019 13:48:40 +0000 (15 15:48 +0200)
tree7d7e458b373aa8194cc02782c0cb8ff078841247
parent7229e121fd3e299192b03f1a9b59c946e20ed627
iotests: Compare error messages in 030

Currently, 030 just compares the error class, which does not say
anything.

Before HEAD^ added throttling to test_overlapping_4, that test actually
usually failed because node2 was already gone, not because it was the
commit and stream job were not allowed to overlap.

Prevent such problems in the future by comparing the error description
instead.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Tested-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20190703172813.6868-9-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/030