]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Kill some more global variables
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 10 Sep 2019 14:22:56 +0000 (15:22 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 10 Sep 2019 14:22:56 +0000 (15:22 +0100)
test/functional/cases/210_clickhouse/001_migration.robot
test/functional/cases/240_redis.robot
test/functional/cases/241_redis_is_dead.robot

index 8c51a348054e96502e834a5aa65f55131889d4b4..816162409efd8c88dfd8f16a4986680a41290168 100644 (file)
@@ -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}
index cf73f59ad3432d19c1176f47a71849372bdad718..b3d50ea7ae0578347306eaaadf61c071e30f9d7d 100644 (file)
@@ -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
index 0577ef03fee98c3d1bb45f07a0b23a4eaddaecfb..f744b890cdeebc9e1fdb1cd16208cd8358fe6693 100644 (file)
@@ -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