commit 19b347c: [Test] Kill some more global variables
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Sep 10 14:28:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-09-10 15:22:56 +0100
URL: https://github.com/rspamd/rspamd/commit/19b347c030d09224c72c8c3eae76f2d8f6dd085c (HEAD -> master)
[Test] Kill some more global variables
---
test/functional/cases/210_clickhouse/001_migration.robot | 2 +-
test/functional/cases/240_redis.robot | 2 +-
test/functional/cases/241_redis_is_dead.robot | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/functional/cases/210_clickhouse/001_migration.robot b/test/functional/cases/210_clickhouse/001_migration.robot
index 8c51a3480..816162409 100644
--- a/test/functional/cases/210_clickhouse/001_migration.robot
+++ b/test/functional/cases/210_clickhouse/001_migration.robot
@@ -51,7 +51,7 @@ Retention
*** Keywords ***
Clickhouse Setup
${TMPDIR} = Make Temporary Directory
- Set Global Variable ${TMPDIR}
+ Set Suite Variable ${TMPDIR}
Set Directory Ownership ${TMPDIR} ${RSPAMD_USER} ${RSPAMD_GROUP}
${template} = Get File ${TESTDIR}/configs/clickhouse-config.xml
${config} = Replace Variables ${template}
diff --git a/test/functional/cases/240_redis.robot b/test/functional/cases/240_redis.robot
index cf73f59ad..b3d50ea7a 100644
--- a/test/functional/cases/240_redis.robot
+++ b/test/functional/cases/240_redis.robot
@@ -27,7 +27,7 @@ Redis client
*** Keywords ***
Lua Setup
[Arguments] ${LUA_SCRIPT}
- Set Global Variable ${LUA_SCRIPT}
+ Set Suite Variable ${LUA_SCRIPT}
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/redis.conf
Set Suite Variable ${PLUGIN_CONFIG}
Generic Setup PLUGIN_CONFIG
diff --git a/test/functional/cases/241_redis_is_dead.robot b/test/functional/cases/241_redis_is_dead.robot
index 0577ef03f..f744b890c 100644
--- a/test/functional/cases/241_redis_is_dead.robot
+++ b/test/functional/cases/241_redis_is_dead.robot
@@ -28,7 +28,7 @@ Dead Redis client
*** Keywords ***
Lua Setup
[Arguments] ${LUA_SCRIPT}
- Set Global Variable ${LUA_SCRIPT}
+ Set Suite Variable ${LUA_SCRIPT}
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/redis.conf
Set Suite Variable ${PLUGIN_CONFIG}
Generic Setup PLUGIN_CONFIG
More information about the Commits
mailing list