From 20eee14a2cf10e3699a5dece0dfada550419438f Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 10 Mar 2016 12:18:00 -0800 Subject: [PATCH] Lower connect timeout for test_mysql_variables. --- test/integration/roles/test_mysql_variables/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/roles/test_mysql_variables/tasks/main.yml b/test/integration/roles/test_mysql_variables/tasks/main.yml index 5344e5b1b4..192472bf46 100644 --- a/test/integration/roles/test_mysql_variables/tasks/main.yml +++ b/test/integration/roles/test_mysql_variables/tasks/main.yml @@ -194,6 +194,9 @@ #============================================================ # Verify mysql_variable fails with an incorrect login_host parameter # +- name: lower mysql connect timeout + ini_file: dest="{{ansible_env.HOME}}/.my.cnf" section=client option=connect_timeout value=5 + - name: query mysql_variable using incorrect login_host mysql_variables: variable=wait_timeout login_host=12.0.0.9 register: result