test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V2] tests/external_mempool_handler: optimize function parameters
@ 2023-01-12  2:48 Dukai Yuan
  0 siblings, 0 replies; only message in thread
From: Dukai Yuan @ 2023-01-12  2:48 UTC (permalink / raw)
  To: dts; +Cc: Dukai Yuan

Use parameter 'interval' by default will cause test failed.
So, increase default 'interval' to 'interval=0.05'.

Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>
---
 tests/TestSuite_external_mempool_handler.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_external_mempool_handler.py b/tests/TestSuite_external_mempool_handler.py
index aa22a35a..58971e31 100644
--- a/tests/TestSuite_external_mempool_handler.py
+++ b/tests/TestSuite_external_mempool_handler.py
@@ -63,7 +63,9 @@ class TestExternalMempool(TestCase):
         rx_port = self.tester.get_local_port(self.dut_ports[0])
         tgen_input.append((tx_port, rx_port))
 
-        result = self.tester.check_random_pkts(tgen_input, allow_miss=False)
+        result = self.tester.check_random_pkts(
+            tgen_input, interval=0.05, allow_miss=False
+        )
 
         self.pmdout.quit()
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-12  2:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12  2:48 [dts][PATCH V2] tests/external_mempool_handler: optimize function parameters Dukai Yuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).