[dts] [PATCH V1] tests/ice_buffer_split: optimize scripts
Jiale Song
songx.jiale at intel.com
Wed Apr 26 20:02:32 CEST 2023
exit the scapy initiated in the test case to avoid affecting
the use of the session.
Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
tests/TestSuite_ice_buffer_split.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_ice_buffer_split.py b/tests/TestSuite_ice_buffer_split.py
index 55d37ec6..5b71853c 100644
--- a/tests/TestSuite_ice_buffer_split.py
+++ b/tests/TestSuite_ice_buffer_split.py
@@ -668,6 +668,7 @@ class TestBufferSplit(TestCase):
if len(pkt_data) != 0:
pkt_data_list.append(pkt_data)
self.logger.info("pkt_data_list: {}".format(pkt_data_list))
+ self.tester.send_expect("quit()", "# ")
return pkt_data_list
def send_pkt_get_output(self, pkts, port_id, count=1):
--
2.17.1
More information about the dts
mailing list