From 2a523826dc030e77a2d649370e37c76317faed08 Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Thu, 5 Jan 2017 23:10:34 +0300 Subject: [PATCH] Use MySQL connection arguments in API tests. --- tests/t/api_basic.t | 2 +- tests/t/api_sql.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/t/api_basic.t b/tests/t/api_basic.t index 1efbaf1..c4b1702 100644 --- a/tests/t/api_basic.t +++ b/tests/t/api_basic.t @@ -7,7 +7,7 @@ Basic Lua API tests > exit 80 > fi - $ SB_ARGS="--verbosity=0 --test=$CRAMTMP/api_basic.lua --max-requests=2 --num-threads=1 --db-driver=mysql" + $ SB_ARGS="--verbosity=0 --test=$CRAMTMP/api_basic.lua --max-requests=2 --num-threads=1 --db-driver=mysql $SBTEST_MYSQL_ARGS" $ cat >$CRAMTMP/api_basic.lua < function init(thread_id) diff --git a/tests/t/api_sql.t b/tests/t/api_sql.t index b93020e..8443f6d 100644 --- a/tests/t/api_sql.t +++ b/tests/t/api_sql.t @@ -7,7 +7,7 @@ SQL Lua API tests > exit 80 > fi - $ SB_ARGS="--verbosity=1 --test=$CRAMTMP/api_sql.lua --max-requests=1 --num-threads=1 --db-driver=mysql" + $ SB_ARGS="--verbosity=1 --test=$CRAMTMP/api_sql.lua --max-requests=1 --num-threads=1 --db-driver=mysql $SBTEST_MYSQL_ARGS" $ cat >$CRAMTMP/api_sql.lua < function event(thread_id) > db_query("CREATE TABLE t(a INT)")