Commit e72062e5 authored by Petr Špaček's avatar Petr Špaček

kresd: run in non-interactive mode

For unknown reason, Deckard test might fail with "--- Logging error ---"
from Python interpreter. Experimentally I found out that this does not
happen anymore if kresd is executed with "-f 1", i.e. in non-interactive
mode. I do not know why, but this change seems to hide/solve the problem
and leads to more reliable test suite so it is now enabled by default.
parent f5bfe683
Pipeline #24971 passed with stage
in 5 minutes and 6 seconds
......@@ -3,6 +3,7 @@ TESTS ?= sets/resolver
DAEMON ?= kresd
TEMPLATE ?= template/kresd.j2
CONFIG ?= config
ADDITIONAL ?=
OPTS ?=
PYTHON ?= python3
......
......@@ -13,7 +13,10 @@ TEMPLATE=${TEMPLATE:-"template/kresd.j2"}
# Config file name
CONFIG=${CONFIG:-"config"}
export TESTS DAEMON TEMPLATE CONFIG
# Additional parameters for kresd - non-interactive mode
ADDITIONAL="-f 1"
export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL
MAKEDIR="$(dirname "$(readlink -f "$0")")"
echo '=== Testing WITH query minimization ==='
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment