aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-11 10:09:07 +0200
committerKim Alvefur <zash@zash.se>2021-07-11 10:09:07 +0200
commit09d8f1254854054b736c7188a16f8e0d7e6bde83 (patch)
tree10267b641d4fdbd1cf428fefb6723bd597fff4b9 /spec
parentf814af50e3e7a024d8434219110c9c680ac2fb97 (diff)
downloadprosody-09d8f1254854054b736c7188a16f8e0d7e6bde83.tar.gz
prosody-09d8f1254854054b736c7188a16f8e0d7e6bde83.zip
scansion tests: Allow specifying network backend via environment variable
To make it easier to test select and event without having to edit the config file, e.g. in CI. make integration-test PROSODY_NETWORK_BACKEND=event
Diffstat (limited to 'spec')
-rw-r--r--spec/scansion/prosody.cfg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scansion/prosody.cfg.lua b/spec/scansion/prosody.cfg.lua
index d6388ba5..bb48742f 100644
--- a/spec/scansion/prosody.cfg.lua
+++ b/spec/scansion/prosody.cfg.lua
@@ -13,7 +13,7 @@ end
admins = { "admin@localhost" }
-network_backend = "epoll"
+network_backend = ENV_PROSODY_NETWORK_BACKEND or "epoll"
network_settings = {
}