tests - print logs when setup_test fails
This commit is contained in:
parent
3be348ebe8
commit
ec11360853
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue