Changeset

11666:b92a3e166ac3

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
author Kim Alvefur <zash@zash.se>
date Sun, 11 Jul 2021 10:09:07 +0200
parents 11665:148075532021
children 11667:7417e61dfbe1
files spec/scansion/prosody.cfg.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/spec/scansion/prosody.cfg.lua	Sun Jul 11 09:39:21 2021 +0200
+++ b/spec/scansion/prosody.cfg.lua	Sun Jul 11 10:09:07 2021 +0200
@@ -13,7 +13,7 @@
 
 admins = { "admin@localhost" }
 
-network_backend = "epoll"
+network_backend = ENV_PROSODY_NETWORK_BACKEND or "epoll"
 network_settings = {
 }