From d91fa61e8ddd031c755f8feb8b8fd7198fc75f5e Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 15 Jan 2019 13:25:09 +0100 Subject: make test: raise packet tracing limit to 1000 Change-Id: I4309cefe13ee861342e7962c7652919a47748656 Signed-off-by: Klement Sekera --- test/framework.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/framework.py b/test/framework.py index 3098d39af72..ea637eba9eb 100644 --- a/test/framework.py +++ b/test/framework.py @@ -554,7 +554,7 @@ class VppTestCase(unittest.TestCase): (self.__class__.__name__, self._testMethodName, self._testMethodDoc)) if not self.vpp_dead: - self.logger.debug(self.vapi.cli("show trace")) + self.logger.debug(self.vapi.cli("show trace max 1000")) self.logger.info(self.vapi.ppcli("show interface")) self.logger.info(self.vapi.ppcli("show hardware")) self.logger.info(self.statistics.set_errors_str()) @@ -635,7 +635,7 @@ class VppTestCase(unittest.TestCase): cls.logger.debug("Removing zombie capture %s" % cap_name) cls.vapi.cli('packet-generator delete %s' % cap_name) - cls.vapi.cli("trace add pg-input 50") # 50 is maximum + cls.vapi.cli("trace add pg-input 1000") cls.vapi.cli('packet-generator enable') cls._zombie_captures = cls._captures cls._captures = [] -- cgit 1.2.3-korg