test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/l3fwd_func: optimization script
@ 2022-05-16  8:08 Jiale Song
  0 siblings, 0 replies; only message in thread
From: Jiale Song @ 2022-05-16  8:08 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

when tcpdump performs reverse domain name resolution, it may cause packet reading
timeout. increase the '-n' to skip the reverse domain name resolution operation.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_l3fwd_func.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_l3fwd_func.py b/tests/TestSuite_l3fwd_func.py
index 7340c09d..a5243389 100644
--- a/tests/TestSuite_l3fwd_func.py
+++ b/tests/TestSuite_l3fwd_func.py
@@ -132,7 +132,7 @@ class TestL3fwdFunc(TestCase):
         :return:
         """
         out = self.tester.send_expect(
-            "tcpdump -r /tmp/tester/sniff_%s.pcap" % (self.tport_intf0),
+            "tcpdump -n -r /tmp/tester/sniff_%s.pcap" % (self.tport_intf0),
             "# ",
             timeout=30,
         )
-- 
2.25.1


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

only message in thread, other threads:[~2022-05-16  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16  8:08 [dts] [PATCH V1] tests/l3fwd_func: optimization script Jiale Song

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).