From: Xiao Qimai <qimaix.xiao@intel.com>
To: dts@dpdk.org
Cc: Xiao Qimai <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V1 1/7]tests/TestSuite_iavf: fix kill l3fwd-power
Date: Wed, 8 Apr 2020 17:18:48 +0800 [thread overview]
Message-ID: <1586337534-448577-2-git-send-email-qimaix.xiao@intel.com> (raw)
In-Reply-To: <1586337534-448577-1-git-send-email-qimaix.xiao@intel.com>
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_iavf.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py
index dedabbd..248bd8d 100644
--- a/tests/TestSuite_iavf.py
+++ b/tests/TestSuite_iavf.py
@@ -729,6 +729,7 @@ class TestIavf(TestCase):
def test_vf_rx_interrupt(self):
# build l3fwd-power
+ self.vm_dut_alt = self.vm_dut_0.create_session(name="vm_dut_alt")
out = self.vm_dut_0.build_dpdk_apps("./examples/l3fwd-power")
self.verify("Error" not in out, "Compilation error")
self.verify("No such" not in out, "Compilation error")
@@ -755,13 +756,14 @@ class TestIavf(TestCase):
out = self.vm_dut_0.get_session_output()
self.verify('L3FWD_POWER: lcore 0 is waked up from rx interrupt' in out, 'lcore 0 is not waked up')
self.verify('L3FWD_POWER: lcore 1 is waked up from rx interrupt' in out, 'lcore 1 is not waked up')
- self.vm_dut_0.send_expect("^C", "# ", 60)
+ self.vm_dut_alt.send_expect("killall l3fwd-power", "# ", 10)
self.vm_dut_0.bind_interfaces_linux(driver="igb_uio")
self.interrupt_flag = True
def tear_down(self):
if self.running_case == "test_vf_rx_interrupt":
- self.vm_dut_0.send_expect("^C", "# ", 60)
+ self.vm_dut_alt.send_expect("killall l3fwd-power", "# ", 10)
+ self.vm_dut_alt.close()
else:
self.vm0_testpmd.quit()
--
1.8.3.1
next prev parent reply other threads:[~2020-04-08 9:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-08 9:18 [dts] [PATCH V1 0/7] fix l3fwd-power quit failed Xiao Qimai
2020-04-08 9:18 ` Xiao Qimai [this message]
2020-04-08 9:18 ` [dts] [PATCH V1 2/7]tests/TestSuite_kernelpf_iavf: fix kill l3fwd-power Xiao Qimai
2020-04-08 9:18 ` [dts] [PATCH V1 3/7]tests/TestSuite_vf_interrupt_pmd: " Xiao Qimai
2020-04-08 9:18 ` [dts] [PATCH V1 4/7]tests/TestSuite_vhost_enqueue_interrupt: " Xiao Qimai
2020-04-08 9:18 ` [dts] [PATCH V1 5/7]tests/TestSuite_vhost_event_idx_interrupt: " Xiao Qimai
2020-04-08 9:18 ` [dts] [PATCH V1 6/7]tests/TestSuite_vhost_virtio_pmd_interrupt: " Xiao Qimai
2020-04-08 9:18 ` [dts] [PATCH V1 7/7]tests/TestSuite_vhost_virtio_user_interrupt: " Xiao Qimai
2020-04-17 5:26 ` [dts] [PATCH V1 0/7] fix l3fwd-power quit failed Zhao, XinfengX
2020-04-20 2:09 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1586337534-448577-2-git-send-email-qimaix.xiao@intel.com \
--to=qimaix.xiao@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).