[V1] tests/ice_buffer_split: optimize scripts
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
success
|
Testing OK
|
Commit Message
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(+)
Comments
On Wed, 26 Apr 2023 18:02:32 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> 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>
Applied, thanks
@@ -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):