diff options
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/framework.py b/test/framework.py index 1c81e8afabc..9266227f18e 100644 --- a/test/framework.py +++ b/test/framework.py @@ -1310,8 +1310,7 @@ class VppTestCase(CPUInterface, unittest.TestCase): if not timeout: timeout = 1 for i in self.pg_interfaces: - i.get_capture(0, timeout=timeout) - i.assert_nothing_captured(remark=remark) + i.assert_nothing_captured(timeout=timeout, remark=remark) timeout = 0.1 finally: if trace: @@ -1365,8 +1364,7 @@ class VppTestCase(CPUInterface, unittest.TestCase): timeout = 1 for i in self.pg_interfaces: if i not in outputs: - i.get_capture(0, timeout=timeout) - i.assert_nothing_captured() + i.assert_nothing_captured(timeout=timeout) timeout = 0.1 if stats_diff: |