diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-10 15:22:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-10 15:22:56 +0100 |
commit | 19b347c030d09224c72c8c3eae76f2d8f6dd085c (patch) | |
tree | f0715e66cfb31ad2a7e4af60be004bab3da376d8 /test | |
parent | 388a019efdb78dbea5a7045ea3100ed58def81d3 (diff) | |
download | rspamd-19b347c030d09224c72c8c3eae76f2d8f6dd085c.tar.gz rspamd-19b347c030d09224c72c8c3eae76f2d8f6dd085c.zip |
[Test] Kill some more global variables
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/210_clickhouse/001_migration.robot | 2 | ||||
-rw-r--r-- | test/functional/cases/240_redis.robot | 2 | ||||
-rw-r--r-- | 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 |