Commit 9c528f68 authored by Jérome Perrin's avatar Jérome Perrin

testing/testcase: isolate logs snapshot per test class

tell supervisor to clear log so that we don't get the logs from the
previous test. This also will reduce the size of dumps.
parent 92c9a0fb
Pipeline #7294 running with stage
......@@ -401,6 +401,8 @@ class SlapOSInstanceTestCase(unittest.TestCase):
"""Tear down class, stop the processes and destroy instance.
"""
cls._cleanup("{}.{}.tearDownClass".format(cls.__module__, cls.__name__))
with cls.slap.system_supervisor_rpc as supervisor:
supervisor.clearAllProcessLogs()
@classmethod
def _storePartitionSnapshot(cls, name):
......
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