From 56eecc3c19f513782ab5d7a21c9153aa148da44f Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 11 Aug 2016 14:42:54 +0100 Subject: [PATCH] [Test] Fix multimap CDB test --- test/functional/cases/102_multimap.robot | 4 ++-- test/functional/configs/multimap.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/cases/102_multimap.robot b/test/functional/cases/102_multimap.robot index cad5b56df..dd6f103ec 100644 --- a/test/functional/cases/102_multimap.robot +++ b/test/functional/cases/102_multimap.robot @@ -108,11 +108,11 @@ MAP - HOSTNAME MISS MAP - CDB - HOSTNAME ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname example.com - Check Rspamc ${result} HOSTNAME_MAP + Check Rspamc ${result} CDB_HOSTNAME MAP - CDB - HOSTNAME MISS ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname rspamd.com - Check Rspamc ${result} HOSTNAME_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} CDB_HOSTNAME inverse=1 rc_noinverse=1 *** Keywords *** Multimap Setup diff --git a/test/functional/configs/multimap.conf b/test/functional/configs/multimap.conf index 334b07e02..1cb010d8a 100644 --- a/test/functional/configs/multimap.conf +++ b/test/functional/configs/multimap.conf @@ -42,7 +42,7 @@ multimap { type = "hostname"; map = "${TESTDIR}/configs/maps/domains.list"; } - HOSTNAME_MAP_CDB { + CDB_HOSTNAME { type = "hostname"; map = "cdb://${TESTDIR}/configs/maps/domains.cdb"; } -- 2.39.5