aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/lua_test.conf
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-06-27 21:11:07 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-06-27 23:27:26 +0200
commite8a7a6327950349aa897ce84e507d4fd94f43834 (patch)
tree1185e854673c7e220b56ada9fd4ef714f40bdcaf /test/functional/configs/lua_test.conf
parent3bb4e1cd86c65a854bcfe4e7d0bb0a1c64347fc7 (diff)
downloadrspamd-e8a7a6327950349aa897ce84e507d4fd94f43834.tar.gz
rspamd-e8a7a6327950349aa897ce84e507d4fd94f43834.zip
[Test] New functional test framework
Diffstat (limited to 'test/functional/configs/lua_test.conf')
-rw-r--r--test/functional/configs/lua_test.conf14
1 files changed, 3 insertions, 11 deletions
diff --git a/test/functional/configs/lua_test.conf b/test/functional/configs/lua_test.conf
index f43ceb49a..bcb1c3323 100644
--- a/test/functional/configs/lua_test.conf
+++ b/test/functional/configs/lua_test.conf
@@ -18,22 +18,14 @@ metric = {
worker {
type = normal
- bind_socket = localhost:56789
+ bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
count = 1
- keypair {
- pubkey = "y3ms1knmetxf8gdeixkf74b6tbpxqugmxzqksnjodiqei7tksyty";
- privkey = "oswsyqndpj3swqa4yqm4yzoyih83otqkeoxpo9km95o46ixh6quy";
- }
}
worker {
type = controller
- bind_socket = localhost:56790
+ bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER}
count = 1
- keypair {
- pubkey = "y3ms1knmetxf8gdeixkf74b6tbpxqugmxzqksnjodiqei7tksyty";
- privkey = "oswsyqndpj3swqa4yqm4yzoyih83otqkeoxpo9km95o46ixh6quy";
- }
secure_ip = ["127.0.0.1", "::1"];
}
-lua = @@LUA_SCRIPT@@;
+lua = ${LUA_SCRIPT};