summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-10-20 12:31:27 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-10-20 12:31:27 +0200
commit145ca18232cbf633bef2f2769f685ef08a88f39f (patch)
tree3c88df4f59167a27d62d5d1f76537a7968471eab /test
parent697c84014c909793119aa05b2546ba5b0c8f4e54 (diff)
downloadrspamd-145ca18232cbf633bef2f2769f685ef08a88f39f.tar.gz
rspamd-145ca18232cbf633bef2f2769f685ef08a88f39f.zip
[Test] Increase DNS retransmits
Diffstat (limited to 'test')
-rw-r--r--test/functional/configs/dkim.conf4
-rw-r--r--test/functional/configs/fuzzy.conf4
-rw-r--r--test/functional/configs/lua_test.conf4
-rw-r--r--test/functional/configs/password.conf4
-rw-r--r--test/functional/configs/plugins.conf2
-rw-r--r--test/functional/configs/proxy.conf4
-rw-r--r--test/functional/configs/stats.conf4
-rw-r--r--test/functional/configs/trivial.conf4
8 files changed, 30 insertions, 0 deletions
diff --git a/test/functional/configs/dkim.conf b/test/functional/configs/dkim.conf
index 7a8dacea2..b6ccbb0d6 100644
--- a/test/functional/configs/dkim.conf
+++ b/test/functional/configs/dkim.conf
@@ -1,6 +1,10 @@
options = {
filters = ["dkim"]
pidfile = "${TMPDIR}/rspamd.pid"
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ }
}
logging = {
type = "file",
diff --git a/test/functional/configs/fuzzy.conf b/test/functional/configs/fuzzy.conf
index 9d6a546b2..827637d5d 100644
--- a/test/functional/configs/fuzzy.conf
+++ b/test/functional/configs/fuzzy.conf
@@ -3,6 +3,10 @@ options = {
pidfile = "${TMPDIR}/rspamd.pid";
control_socket = "${TMPDIR}/rspamd.sock mode=0600";
url_tld = "${TESTDIR}/../lua/unit/test_tld.dat";
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ }
}
logging = {
type = "file",
diff --git a/test/functional/configs/lua_test.conf b/test/functional/configs/lua_test.conf
index 682609335..bbaba8864 100644
--- a/test/functional/configs/lua_test.conf
+++ b/test/functional/configs/lua_test.conf
@@ -3,6 +3,10 @@ options = {
url_tld = "${URL_TLD}"
pidfile = "${TMPDIR}/rspamd.pid"
map_watch_interval = ${MAP_WATCH_INTERVAL};
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ }
}
logging = {
type = "file",
diff --git a/test/functional/configs/password.conf b/test/functional/configs/password.conf
index aa1dae564..9c06e7c7b 100644
--- a/test/functional/configs/password.conf
+++ b/test/functional/configs/password.conf
@@ -2,6 +2,10 @@ options = {
filters = ["spf", "dkim", "regexp"]
url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
pidfile = "${TMPDIR}/rspamd.pid"
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ }
}
logging = {
type = "file",
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index d42510300..1b36c10b2 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -5,6 +5,8 @@ options = {
lua_path = "${TESTDIR}/../../contrib/lua-fun/?.lua"
dns {
nameserver = ["8.8.8.8", "8.8.4.4"];
+ retransmits = 10;
+ timeout = 2s;
}
}
logging = {
diff --git a/test/functional/configs/proxy.conf b/test/functional/configs/proxy.conf
index 5f40d1593..bca691510 100644
--- a/test/functional/configs/proxy.conf
+++ b/test/functional/configs/proxy.conf
@@ -1,6 +1,10 @@
options = {
filters = "spf"
pidfile = "${TMPDIR}/rspamd.pid"
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ }
}
logging = {
type = "file",
diff --git a/test/functional/configs/stats.conf b/test/functional/configs/stats.conf
index b503e5b56..37fe0c705 100644
--- a/test/functional/configs/stats.conf
+++ b/test/functional/configs/stats.conf
@@ -2,6 +2,10 @@ options = {
filters = ["spf", "dkim", "regexp"]
url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
pidfile = "${TMPDIR}/rspamd.pid"
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ }
}
logging = {
type = "file",
diff --git a/test/functional/configs/trivial.conf b/test/functional/configs/trivial.conf
index 99ef1aff6..04f462e1e 100644
--- a/test/functional/configs/trivial.conf
+++ b/test/functional/configs/trivial.conf
@@ -2,6 +2,10 @@ options = {
filters = ["spf", "dkim", "regexp"]
url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
pidfile = "${TMPDIR}/rspamd.pid"
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ }
}
logging = {
type = "file",