From 09d8f1254854054b736c7188a16f8e0d7e6bde83 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 11 Jul 2021 10:09:07 +0200 Subject: 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 --- spec/scansion/prosody.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/scansion') 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 = { } -- cgit v1.2.3