[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] iotests/041: Skip test_small_target for qed
From: |
Thomas Huth |
Subject: |
Re: [PATCH 2/5] iotests/041: Skip test_small_target for qed |
Date: |
Wed, 17 Jun 2020 13:39:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 17/06/2020 12.48, Max Reitz wrote:
> qed does not support shrinking images, so the test_small_target method
> should be skipped to keep 041 passing.
>
> Fixes: 16cea4ee1c8e5a69a058e76f426b2e17974d8d7d
> Signed-off-by: Max Reitz <mreitz@redhat.com>
> ---
> tests/qemu-iotests/041 | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/qemu-iotests/041 b/tests/qemu-iotests/041
> index 601c756117..b843f88a66 100755
> --- a/tests/qemu-iotests/041
> +++ b/tests/qemu-iotests/041
> @@ -277,6 +277,8 @@ class TestSingleBlockdev(TestSingleDrive):
> result = self.vm.run_job('job0')
> self.assertEqual(result, 'Source and target image have different
> sizes')
>
> + # qed does not support shrinking
> + @iotests.skip_for_formats(('qed'))
> def test_small_target(self):
> self.do_test_target_size(self.image_len // 2)
Great, now "check -qed 041" works fine for me again! Thanks!
Tested-by: Thomas Huth <thuth@redhat.com>
- [PATCH 0/5] iotests: Some fixes for rarely run cases, Max Reitz, 2020/06/17
- [PATCH 2/5] iotests/041: Skip test_small_target for qed, Max Reitz, 2020/06/17
- Re: [PATCH 2/5] iotests/041: Skip test_small_target for qed,
Thomas Huth <=
- [PATCH 1/5] iotests.py: Add skip_for_formats() decorator, Max Reitz, 2020/06/17
- [PATCH 3/5] iotests/292: data_file is unsupported, Max Reitz, 2020/06/17
- [PATCH 4/5] iotests/229: data_file is unsupported, Max Reitz, 2020/06/17
- [PATCH 5/5] iotests/{190,291}: compat=0.10 is unsupported, Max Reitz, 2020/06/17
- Re: [PATCH 0/5] iotests: Some fixes for rarely run cases, no-reply, 2020/06/17
- Re: [PATCH 0/5] iotests: Some fixes for rarely run cases, Kevin Wolf, 2020/06/17