diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-02 12:09:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-02 12:09:24 +0100 |
commit | c03f12c4c9918a8545d6053cc40786b152b4c44e (patch) | |
tree | 7a9c54db731927e5bfb75b11fc6743a997155810 /test | |
parent | 04973acecb84a49db7e156db6d152b4ff78e0e48 (diff) | |
download | rspamd-c03f12c4c9918a8545d6053cc40786b152b4c44e.tar.gz rspamd-c03f12c4c9918a8545d6053cc40786b152b4c44e.zip |
[Test] Fix reload test
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/configs/maps/domains.list.2 | 2 | ||||
-rw-r--r-- | test/functional/lua/mapreload.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/configs/maps/domains.list.2 b/test/functional/configs/maps/domains.list.2 index 850c64045..45cd0b2ec 100644 --- a/test/functional/configs/maps/domains.list.2 +++ b/test/functional/configs/maps/domains.list.2 @@ -1,2 +1,2 @@ -rspamd.com +rspamd-test.com #other.com diff --git a/test/functional/lua/mapreload.lua b/test/functional/lua/mapreload.lua index aa1de9392..572da10de 100644 --- a/test/functional/lua/mapreload.lua +++ b/test/functional/lua/mapreload.lua @@ -7,9 +7,9 @@ rspamd_config:register_symbol({ name = 'MAP_SET_HIT_AND_MISS', score = 1.0, callback = function() - if (test_map:get_key('example.com') and not test_map:get_key('rspamd.com')) then + if (test_map:get_key('example.com') and not test_map:get_key('rspamd-test.com')) then return true, 'example.com' - elseif (test_map:get_key('rspamd.com') and not test_map:get_key('example.com')) then + elseif (test_map:get_key('rspamd-test.com') and not test_map:get_key('example.com')) then return true, 'rspamd.com' end end |