diff options
-rw-r--r-- | test/unit/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/main.py b/test/unit/main.py index 42918c9d..d415f58f 100644 --- a/test/unit/main.py +++ b/test/unit/main.py @@ -102,7 +102,7 @@ class TestUnit(unittest.TestCase): break if m is None: - unit.stop() + unit._print_log() exit("Unit is writing log too long") # discover available modules from unit.log @@ -198,6 +198,7 @@ class TestUnit(unittest.TestCase): atexit.register(self.stop) if not self.waitforfiles(self.testdir + '/control.unit.sock'): + self._print_log() exit("Could not start unit") self.skip_alerts = [ |