test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/inline_ipsec: add -nn for tcpdump
@ 2022-05-31  6:32 Jiale Song
  2022-06-15  8:39 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2022-05-31  6:32 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

tcpdump timeout, increase the '-nn' to skip the DNS reverse domain name resolution operation.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_inline_ipsec.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_inline_ipsec.py b/tests/TestSuite_inline_ipsec.py
index 474e616a..31c8bb8d 100644
--- a/tests/TestSuite_inline_ipsec.py
+++ b/tests/TestSuite_inline_ipsec.py
@@ -253,7 +253,7 @@ class TestInlineIpsec(TestCase):
             session_receive2 = self.tester.create_session(
                 name="receive_encryption_package2"
             )
-            session_receive2.send_expect("tcpdump -Xvvvi %s -c 1" % rxItf, "", 10)
+            session_receive2.send_expect("tcpdump -nn -Xvvvi %s -c 1" % rxItf, "", 10)
             send_package = self.send_encryption_package(
                 txItf, paysize, do_encrypt, send_spi, count, inner_dst, sa_src, sa_dst
             )
@@ -468,7 +468,7 @@ class TestInlineIpsec(TestCase):
         session_receive3 = self.tester.create_session(
             "check_forward_encryption_package"
         )
-        session_receive3.send_expect("tcpdump -Xvvvi %s -c 1" % self.rxItf, "", 30)
+        session_receive3.send_expect("tcpdump -nn -Xvvvi %s -c 1" % self.rxItf, "", 30)
         time.sleep(2)
         sendp(eth_e1, iface=self.rxItf, count=2)
         sendp(eth_e2, iface=self.txItf, count=1)
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts] [PATCH V1] tests/inline_ipsec: add -nn for tcpdump
  2022-05-31  6:32 [dts] [PATCH V1] tests/inline_ipsec: add -nn for tcpdump Jiale Song
@ 2022-06-15  8:39 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2022-06-15  8:39 UTC (permalink / raw)
  To: dts, Jiale Song; +Cc: Jiale Song

On Tue, 31 May 2022 14:32:12 +0800, Jiale Song <songx.jiale@intel.com> wrote:
> tcpdump timeout, increase the '-nn' to skip the DNS reverse domain name resolution operation.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>


Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-15  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31  6:32 [dts] [PATCH V1] tests/inline_ipsec: add -nn for tcpdump Jiale Song
2022-06-15  8:39 ` lijuan.tu

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