tests - print logs when setup_test fails

This commit is contained in:
bunkerity 2022-08-17 14:41:46 +02:00
parent 3be348ebe8
commit ec11360853
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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