[dts] [PATCH V1] tests/tso: tcpdump takes more time

Wenjie Li wenjiex.a.li at intel.com
Tue Aug 13 19:44:08 CEST 2019


on some platforms, tcpdump(scanner) takes more time, set the timeout
threshold to 30s.

Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
---
 tests/TestSuite_tso.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index 36e00fe..4faf266 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -153,7 +153,7 @@ class TestTSO(TestCase):
         """
         Execute scanner to return results
         """
-        scanner_result = self.tester.send_expect(scanner, '#')
+        scanner_result = self.tester.send_expect(scanner, '#', 30)
         fially_result = re.findall(r'length( \d+)', scanner_result)
         return list(fially_result)
 
-- 
2.17.1



More information about the dts mailing list