diff options
Diffstat (limited to 'test/functional/cases/241_redis_is_dead.robot')
-rw-r--r-- | test/functional/cases/241_redis_is_dead.robot | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/test/functional/cases/241_redis_is_dead.robot b/test/functional/cases/241_redis_is_dead.robot index 9a67c61e6..ac8924bc8 100644 --- a/test/functional/cases/241_redis_is_dead.robot +++ b/test/functional/cases/241_redis_is_dead.robot @@ -1,21 +1,22 @@ *** Settings *** Documentation Test the case when trying to connect to nowhere ... (i.e. redis is not running) -Test Setup Dead Redis Setup +Test Setup New Setup Test Teardown Normal Teardown Library Process -Library ${TESTDIR}/lib/rspamd.py -Resource ${TESTDIR}/lib/rspamd.robot -Variables ${TESTDIR}/lib/vars.py +Library ${RSPAMD_TESTDIR}/lib/rspamd.py +Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot +Variables ${RSPAMD_TESTDIR}/lib/vars.py Suite Teardown Terminate All Processes kill=True *** Variables *** ${REDIS_SCOPE} Test ${RSPAMD_SCOPE} Test -${CONFIG} ${TESTDIR}/configs/redis.conf -${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat -${MESSAGE} ${TESTDIR}/messages/spam_message.eml +${CONFIG} ${RSPAMD_TESTDIR}/configs/redis.conf +${RSPAMD_LUA_SCRIPT} ${RSPAMD_TESTDIR}/lua/redis.lua +${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat +${MESSAGE} ${RSPAMD_TESTDIR}/messages/spam_message.eml *** Test Cases *** @@ -24,7 +25,3 @@ Dead Redis client Expect Symbol With Exact Options REDIS_ERROR_3 Connection refused Expect Symbol With Exact Options REDIS_ASYNC201809_ERROR Connection refused Expect Symbol With Exact Options REDIS_ASYNC_ERROR Connection refused - -*** Keywords *** -Dead Redis Setup - New Setup LUA_SCRIPT=${TESTDIR}/lua/redis.lua |