From ec11360853d60aa519e56dcada25388cf746da83 Mon Sep 17 00:00:00 2001 From: bunkerity Date: Wed, 17 Aug 2022 14:41:46 +0200 Subject: [PATCH] tests - print logs when setup_test fails --- examples/proxy-protocol/variables.env | 2 +- tests/LinuxTest.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/proxy-protocol/variables.env b/examples/proxy-protocol/variables.env index 5028961b7..fb0bd805d 100644 --- a/examples/proxy-protocol/variables.env +++ b/examples/proxy-protocol/variables.env @@ -1,4 +1,4 @@ -*DNS_RESOLVERS=8.8.8.8 8.8.4.4 +DNS_RESOLVERS=8.8.8.8 8.8.4.4 # replace with your domains SERVER_NAME=www.example.com # real IP settings diff --git a/tests/LinuxTest.py b/tests/LinuxTest.py index f1f2c9b15..6529d4768 100644 --- a/tests/LinuxTest.py +++ b/tests/LinuxTest.py @@ -114,6 +114,7 @@ class LinuxTest(Test) : raise(Exception("docker exec systemctl restart failed (linux stack)")) except : log("LINUX", "❌", "exception while running LinuxTest._setup_test()\n" + format_exc()) + self._debug_fail() self._cleanup_test() return False return True