From: Klement Sekera Date: Tue, 15 Jan 2019 12:25:09 +0000 (+0100) Subject: make test: raise packet tracing limit to 1000 X-Git-Tag: v19.04-rc0~2 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=d91fa61e8ddd031c755f8feb8b8fd7198fc75f5e make test: raise packet tracing limit to 1000 Change-Id: I4309cefe13ee861342e7962c7652919a47748656 Signed-off-by: Klement Sekera --- 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 = []