From bd7ac7fd7d9892606876e9876fd6dd5c78c7b6b0 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 2 Feb 2015 12:05:01 -0800 Subject: [PATCH] Error message has changed; scrape the new message --- .../roles/test_mysql_user/tasks/user_password_update_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml b/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml index d342d0a4ac..8dcc414fde 100644 --- a/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml +++ b/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml @@ -57,11 +57,12 @@ ignore_errors: true register: result +- debug: var=result.msg - name: assert output message that database not create with old password assert: that: - "result.failed == true" - - "'check login_user and login_password are correct' in result.msg" + - "'check login credentials (login_user, and login_password' in result.msg" - name: create database using user2 and new password mysql_db: name={{ db_name }} state=present login_user={{ user_name_2 }} login_password={{ user_password_1 }}