diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-11 10:09:07 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-11 10:09:07 +0200 |
commit | 09d8f1254854054b736c7188a16f8e0d7e6bde83 (patch) | |
tree | 10267b641d4fdbd1cf428fefb6723bd597fff4b9 /spec/scansion | |
parent | f814af50e3e7a024d8434219110c9c680ac2fb97 (diff) | |
download | prosody-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/scansion')
-rw-r--r-- | spec/scansion/prosody.cfg.lua | 2 |
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 = { } |