test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/ice_buffer_split: optimize scripts
@ 2023-04-26 18:02 Jiale Song
  2023-05-25  2:17 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2023-04-26 18:02 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

exit the scapy initiated in the test case to avoid affecting 
the use of the session.

Signed-off-by: Jiale Song <songx.jiale@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


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

end of thread, other threads:[~2023-05-25  2:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-26 18:02 [dts] [PATCH V1] tests/ice_buffer_split: optimize scripts Jiale Song
2023-05-25  2:17 ` 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).