test suite reviews and discussions
 help / color / mirror / Atom feed
From: Rami Rosen <rami.rosen@intel.com>
To: yong.liu@intel.com
Cc: dts@dpdk.org, Rami Rosen <rami.rosen@intel.com>
Subject: [dts] [PATCH] tests: create the vm2 DUT with vm2 in sriov kvm TestSuite.
Date: Sat,  7 Jan 2017 22:51:56 +0200	[thread overview]
Message-ID: <1483822316-14674-1-git-send-email-rami.rosen@intel.com> (raw)

This patch fixes the setup_4vm_4vf_env() method in sriov kvm TestSuite 
to use vm2 for creating vm2 DUT, instead of wrongly using vm1 for this.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 tests/TestSuite_sriov_kvm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
index 41af4dd..43d5ccf 100644
--- a/tests/TestSuite_sriov_kvm.py
+++ b/tests/TestSuite_sriov_kvm.py
@@ -441,7 +441,7 @@ class TestSriovKvm(TestCase):
 
             self.vm2 = QEMUKvm(self.dut, 'vm2', 'sriov_kvm')
             self.vm2.set_vm_device(driver='pci-assign', **vf2_prop)
-            self.vm_dut_2 = self.vm1.start()
+            self.vm_dut_2 = self.vm2.start()
             if self.vm_dut_2 is None:
                 raise Exception("Set up VM2 ENV failed!")
 
-- 
1.9.1

             reply	other threads:[~2017-01-07 20:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-07 20:51 Rami Rosen [this message]
2017-01-11  8:34 ` Liu, Yong

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=1483822316-14674-1-git-send-email-rami.rosen@intel.com \
    --to=rami.rosen@intel.com \
    --cc=dts@dpdk.org \
    --cc=yong.liu@intel.com \
    /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).