aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-08-18 11:23:30 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-08-18 11:23:30 +0200
commitfb1df8484e1a336117f5c4ebfed7a1254300094f (patch)
tree12d950a43ff286ae4309ebcf7c86294e9dc3e406 /test/functional/cases
parent53972f37027ad4a293f7f8db7e31e7bc35bc1d4b (diff)
downloadrspamd-fb1df8484e1a336117f5c4ebfed7a1254300094f.tar.gz
rspamd-fb1df8484e1a336117f5c4ebfed7a1254300094f.zip
[Feature] Add mempool maps in multimap
Diffstat (limited to 'test/functional/cases')
-rw-r--r--test/functional/cases/102_multimap.robot11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/functional/cases/102_multimap.robot b/test/functional/cases/102_multimap.robot
index de3595378..abe79f512 100644
--- a/test/functional/cases/102_multimap.robot
+++ b/test/functional/cases/102_multimap.robot
@@ -224,10 +224,19 @@ MAP - REDIS - CC - HIT
${result} = Scan Message With Rspamc ${MESSAGE} -i 8.8.8.8
Check Rspamc ${result} REDIS_COUNTRY
-MAP - REDIS - ASN - MISS
+MAP - REDIS - CC - MISS
${result} = Scan Message With Rspamc ${MESSAGE} -i 46.228.47.114
Check Rspamc ${result} REDIS_COUNTRY inverse=1
+MAP - REDIS - ASN FILTERED - HIT
+ Redis HSET asn 1 ${EMPTY}
+ ${result} = Scan Message With Rspamc ${MESSAGE} -i 8.8.8.8
+ Check Rspamc ${result} REDIS_ASN_FILTERED
+
+MAP - REDIS - ASN FILTERED - MISS
+ ${result} = Scan Message With Rspamc ${MESSAGE} -i 46.228.47.114
+ Check Rspamc ${result} REDIS_ASN_FILTERED inverse=1
+
*** Keywords ***
Multimap Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/multimap.conf