diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-03-02 11:29:19 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-03-06 16:17:21 +0000 |
commit | 1b686409307d4c7b29ee3b065c4d010a275a0fd1 (patch) | |
tree | 04aefe1b97a95d1c7389d18a077e9360798996ba /test/framework.py | |
parent | 80a7f0a81cf6bc58cd7567c7b5e1c75813b5fc0c (diff) |
make test: reset object registry if vpp dies
Change-Id: If0e30837e07a21f3912676f5147cb242d3d2b235
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/framework.py b/test/framework.py index b9a09de277e..b7e6b4a06e7 100644 --- a/test/framework.py +++ b/test/framework.py @@ -352,6 +352,8 @@ class VppTestCase(unittest.TestCase): os.rename(tmp_api_trace, vpp_api_trace_log) self.logger.info(self.vapi.ppcli("api trace dump %s" % vpp_api_trace_log)) + else: + self.registry.unregister_all(self.logger) def setUp(self): """ Clear trace before running each test""" |