test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  fix set_promiscuousmode failed case
@ 2015-10-26  7:51 xu,huilong
  2015-11-03  3:48 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: xu,huilong @ 2015-10-26  7:51 UTC (permalink / raw)
  To: dts

test send package dst mac is dut port rx port mac
Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 tests/TestSuite_shutdown_api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 37c2481..c371c0e 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -101,7 +101,7 @@ class TestShutdownApi(TestCase):
             itf = self.tester.get_interface(self.tester.get_local_port(rxPort))
         else:
             itf = testerports
-        mac = self.dut.get_mac_address(txPort)
+        mac = self.dut.get_mac_address(rxPort)
 
         self.tester.scapy_foreground()
         if self.nic in ["fortville_eagle", "fortville_spirit",
-- 
1.9.3

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

* Re: [dts] fix set_promiscuousmode failed case
  2015-10-26  7:51 [dts] fix set_promiscuousmode failed case xu,huilong
@ 2015-11-03  3:48 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-11-03  3:48 UTC (permalink / raw)
  To: xu,huilong, dts

Applied. Thanks.

On 10/26/2015 03:51 PM, xu,huilong wrote:
> test send package dst mac is dut port rx port mac
> Signed-off-by: xu,huilong <huilongx.xu@intel.com>
> ---
>   tests/TestSuite_shutdown_api.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
> index 37c2481..c371c0e 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -101,7 +101,7 @@ class TestShutdownApi(TestCase):
>               itf = self.tester.get_interface(self.tester.get_local_port(rxPort))
>           else:
>               itf = testerports
> -        mac = self.dut.get_mac_address(txPort)
> +        mac = self.dut.get_mac_address(rxPort)
>   
>           self.tester.scapy_foreground()
>           if self.nic in ["fortville_eagle", "fortville_spirit",

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

end of thread, other threads:[~2015-11-03  3:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26  7:51 [dts] fix set_promiscuousmode failed case xu,huilong
2015-11-03  3:48 ` Liu, Yong

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