[V1] tests/l3fwd_func: optimization script
Checks
Commit Message
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(-)
@@ -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,
)