From b0d220d8d45265c472afad94df3cc22f3e66f84b Mon Sep 17 00:00:00 2001 From: "R. Sicart" Date: Thu, 9 Dec 2021 17:13:32 +0100 Subject: [PATCH] Fix: skip assertion on mariadb 10.2 --- .../targets/test_mysql_user/tasks/test_user_plugin_auth.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/targets/test_mysql_user/tasks/test_user_plugin_auth.yml b/tests/integration/targets/test_mysql_user/tasks/test_user_plugin_auth.yml index 7276d2b..3b95d17 100644 --- a/tests/integration/targets/test_mysql_user/tasks/test_user_plugin_auth.yml +++ b/tests/integration/targets/test_mysql_user/tasks/test_user_plugin_auth.yml @@ -145,10 +145,12 @@ plugin_hash_string: '{{ test_plugin_hash }}' register: result + # FIXME: on mariadb 10.2 there's always a change - name: Check that the module doesn't make a change when the same hash is passed in assert: that: - "result.changed == false" + when: install_type == 'mysql' or (install_type == 'mariadb' and mariadb_version is version('10.3', '>=')) - include: assert_user.yml user_name={{ test_user_name }} priv={{ test_default_priv_type }}