From: Vsevolod Stakhov Date: Fri, 22 Jun 2018 09:49:43 +0000 (+0100) Subject: [Test] Another blind try to fix X-Git-Tag: 1.7.7~60 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1c5687a9d62982be546cf1a3179a08fdf8db3209;p=rspamd.git [Test] Another blind try to fix --- diff --git a/test/functional/cases/100_general.robot b/test/functional/cases/100_general.robot index ea1b45171..8dd5ed300 100644 --- a/test/functional/cases/100_general.robot +++ b/test/functional/cases/100_general.robot @@ -6,7 +6,7 @@ Resource ${TESTDIR}/lib/rspamd.robot Variables ${TESTDIR}/lib/vars.py *** Variables *** -${CONFIG} ${TESTDIR}/configs/plugins.conf +${CONFIG} ${TESTDIR}/configs/trivial.conf ${GTUBE} ${TESTDIR}/messages/gtube.eml ${RSPAMD_SCOPE} Suite ${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat diff --git a/test/functional/configs/trivial.conf b/test/functional/configs/trivial.conf index 4a16554ca..06aa194e3 100644 --- a/test/functional/configs/trivial.conf +++ b/test/functional/configs/trivial.conf @@ -1,10 +1,12 @@ options = { filters = ["spf", "dkim", "regexp"] url_tld = "${TESTDIR}/../lua/unit/test_tld.dat" - pidfile = "${TMPDIR}/rspamd.pid" + pidfile = "${TMPDIR}/rspamd.pid"; + lua_path = "${INSTALLROOT}/share/rspamd/lib/?.lua"; dns { - retransmits = 10; - timeout = 2s; + nameserver = ["8.8.8.8", "8.8.4.4"]; + retransmits = 10; + timeout = 2s; } } logging = { @@ -39,3 +41,9 @@ worker { secure_ip = ["127.0.0.1", "::1"]; stats_path = "${TMPDIR}/stats.ucl" } + +modules { + path = "${TESTDIR}/../../src/plugins/lua/" +} +lua = "${INSTALLROOT}/share/rspamd/rules/rspamd.lua" +