test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vf kernel : fix quote incorrect session object
@ 2018-11-22  6:33 zhao,meijuan
  2018-11-22  9:42 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: zhao,meijuan @ 2018-11-22  6:33 UTC (permalink / raw)
  To: dts; +Cc: zhao,meijuan

change session object,when check vm1 nic status,it can work,not only
check vm0 nic status

Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
 tests/TestSuite_vf_kernel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
index 06ca013..a46a07b 100644
--- a/tests/TestSuite_vf_kernel.py
+++ b/tests/TestSuite_vf_kernel.py
@@ -482,7 +482,7 @@ class TestVfKernel(TestCase):
             if "Network is down" in out:
                 print GREEN(out)
                 print GREEN("Try again")
-                self.vm0_dut.restore_interfaces_linux()
+                session.restore_interfaces_linux()
             else:
                 out = session.send_expect("ethtool %s" % intf, "#")
                 if "Link detected: yes" in out:
-- 
2.17.2

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

* Re: [dts] [PATCH V1] tests/vf kernel : fix quote incorrect session object
  2018-11-22  6:33 [dts] [PATCH V1] tests/vf kernel : fix quote incorrect session object zhao,meijuan
@ 2018-11-22  9:42 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2018-11-22  9:42 UTC (permalink / raw)
  To: Zhao, MeijuanX, dts; +Cc: Zhao, MeijuanX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan
> Sent: Thursday, November 22, 2018 2:33 PM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [PATCH V1] tests/vf kernel : fix quote incorrect session object
> 
> change session object,when check vm1 nic status,it can work,not only check
> vm0 nic status
> 
> Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
> ---
>  tests/TestSuite_vf_kernel.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py index
> 06ca013..a46a07b 100644
> --- a/tests/TestSuite_vf_kernel.py
> +++ b/tests/TestSuite_vf_kernel.py
> @@ -482,7 +482,7 @@ class TestVfKernel(TestCase):
>              if "Network is down" in out:
>                  print GREEN(out)
>                  print GREEN("Try again")
> -                self.vm0_dut.restore_interfaces_linux()
> +                session.restore_interfaces_linux()
>              else:
>                  out = session.send_expect("ethtool %s" % intf, "#")
>                  if "Link detected: yes" in out:
> --
> 2.17.2

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

end of thread, other threads:[~2018-11-22  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22  6:33 [dts] [PATCH V1] tests/vf kernel : fix quote incorrect session object zhao,meijuan
2018-11-22  9:42 ` Tu, Lijuan

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).