From d024dd11322f3895c792ba3f77c198216da1bf3a Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 25 Sep 2021 21:25:20 +0200 Subject: [PATCH] [WIP] [stable-2] Fix filesystem tests on OpenSuSE (#3443) (#3444) * Disable failing test on OpenSuSE. * Fix condition. * Correct fix. (cherry picked from commit 6fdeca57097035abd1a7c2464f50f9ea54f975d5) Co-authored-by: Felix Fontein --- tests/integration/targets/filesystem/tasks/create_fs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/filesystem/tasks/create_fs.yml b/tests/integration/targets/filesystem/tasks/create_fs.yml index 688a4462db..01245dc1b0 100644 --- a/tests/integration/targets/filesystem/tasks/create_fs.yml +++ b/tests/integration/targets/filesystem/tasks/create_fs.yml @@ -70,9 +70,9 @@ - 'uuid3.stdout == uuid4.stdout' # unchanged - when: - - (grow | bool and (fstype != "vfat" or resize_vfat)) or + - ((grow | bool and (fstype != "vfat" or resize_vfat)) or (fstype == "xfs" and ansible_system == "Linux" and - ansible_distribution not in ["CentOS", "Ubuntu"]) + ansible_distribution not in ["CentOS", "Ubuntu", "openSUSE Leap"])) block: - name: Check that resizefs does nothing if device size is not changed filesystem: