Commit 67df59ad authored by Julien Muchembled's avatar Julien Muchembled

qa: flush logs at the end of each test when -L is not used

Otherwise, they were either lost or flushed to a file of a next test.
parent 442bb43a
...@@ -190,6 +190,8 @@ class NeoTestBase(unittest.TestCase): ...@@ -190,6 +190,8 @@ class NeoTestBase(unittest.TestCase):
# Note we don't even abort them because it may require a valid # Note we don't even abort them because it may require a valid
# connection to a master node (see Storage.sync()). # connection to a master node (see Storage.sync()).
transaction.manager.__init__() transaction.manager.__init__()
if logging._max_size is not None:
logging.flush()
class failureException(AssertionError): class failureException(AssertionError):
def __init__(self, msg=None): def __init__(self, msg=None):
......
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