瀏覽代碼

[Test] Try improve test stability

tags/1.4.0
Andrew Lewis 7 年之前
父節點
當前提交
50ef6c7161

+ 2
- 2
test/functional/cases/102_multimap.robot 查看文件

@@ -70,11 +70,11 @@ MAP - FROM REGEXP MISS
Check Rspamc ${result} REGEXP_MAP inverse=1

MAP - DEPENDS HIT
${result} = Scan Message With Rspamc ${MESSAGE} -i 147.243.1.47 --from user123@microsoft.com
${result} = Scan Message With Rspamc ${MESSAGE} -i 5.9.155.182 --from user123@rspamd.com
Check Rspamc ${result} DEPS_MAP

MAP - DEPENDS MISS
${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.1 --from user123@microsoft.com
${result} = Scan Message With Rspamc ${MESSAGE} -i 1.2.3.4 --from user123@rspamd.com
Check Rspamc ${result} DEPS_MAP inverse=1

MAP - MULSYM PLAIN

+ 1
- 0
test/functional/configs/dkim.conf 查看文件

@@ -23,6 +23,7 @@ worker {
pubkey = "${KEY_PUB1}";
privkey = "${KEY_PVT1}";
}
task_timeout = 60s;
}

dkim {

+ 1
- 0
test/functional/configs/fuzzy.conf 查看文件

@@ -28,6 +28,7 @@ worker {
type = normal
bind_socket = "${LOCAL_ADDR}:${PORT_NORMAL}";
count = 1
task_timeout = 60s;
}

worker {

+ 1
- 0
test/functional/configs/lua_test.conf 查看文件

@@ -20,6 +20,7 @@ worker {
type = normal
bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
count = 1
task_timeout = 60s;
}
worker {
type = controller

+ 1
- 0
test/functional/configs/password.conf 查看文件

@@ -24,6 +24,7 @@ worker {
pubkey = "${KEY_PUB1}";
privkey = "${KEY_PVT1}";
}
task_timeout = 60s;
}
worker {
type = controller

+ 1
- 0
test/functional/configs/plugins.conf 查看文件

@@ -23,6 +23,7 @@ worker {
type = normal
bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
count = 1
task_timeout = 60s;
}
modules {
path = "${TESTDIR}/../../src/plugins/lua/"

+ 1
- 0
test/functional/configs/stats.conf 查看文件

@@ -24,6 +24,7 @@ worker {
pubkey = "${KEY_PUB1}";
privkey = "${KEY_PVT1}";
}
task_timeout = 60s;
}
worker {
type = controller

+ 2
- 1
test/functional/configs/trivial.conf 查看文件

@@ -24,4 +24,5 @@ worker {
pubkey = "${KEY_PUB1}";
privkey = "${KEY_PVT1}";
}
}
task_timeout = 60s;
}

+ 1
- 1
test/functional/lib/rspamd.robot 查看文件

@@ -90,7 +90,7 @@ Run Redis

Run Rspamc
[Arguments] @{args}
${result} = Run Process ${RSPAMC} @{args} env:LD_LIBRARY_PATH=${TESTDIR}/../../contrib/aho-corasick
${result} = Run Process ${RSPAMC} -t 60 @{args} env:LD_LIBRARY_PATH=${TESTDIR}/../../contrib/aho-corasick
[Return] ${result}

Run Rspamd

Loading…
取消
儲存