[V1] tests/TestSuite_ieee1588:change tester session to new session

Message ID 1600326195-1519-1-git-send-email-xix.zhang@intel.com (mailing list archive)
State Superseded
Headers
Series [V1] tests/TestSuite_ieee1588:change tester session to new session |

Commit Message

Zhang, XiX Sept. 17, 2020, 7:03 a.m. UTC
change tester session to new session

Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_ieee1588.py | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Zhang, XiX Sept. 17, 2020, 7:02 a.m. UTC | #1
Tested-by: Zhang, XiX <xix.zhang@intel.com>


Regards,
Zhang, Xi




> -----Original Message-----
> From: Zhang, XiX
> Sent: Thursday, September 17, 2020 3:03 PM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_ieee1588:change tester session to
> new session
> 
> change tester session to new session
> 
> Signed-off-by: xizhan4x <xix.zhang@intel.com>
> ---
>  tests/TestSuite_ieee1588.py | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py index
> f15f3bd..74bc35d 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -105,9 +105,6 @@ class TestIeee1588(TestCase):
>          out = self.send_session.get_session_before(timeout=20)
>          self.send_session.send_expect("^C", "# ", 20)
>          self.send_session.close()
> -        out = self.send_session.get_session_output(timeout=20)
> -        self.send_session.send_expect("^C", "# ", 20)
> -        self.send_session.close()
> 
> 
>          self.verify("0x88f7" in out, "Ether type is not PTP")
> --
> 1.8.3.1
  
Ma, LihongX Sept. 22, 2020, 7:26 a.m. UTC | #2
Hi, xi
Can you check this patch ? I can not find the code from latest dts.

Regards,
Ma,lihong

> 
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
> index f15f3bd..74bc35d 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -105,9 +105,6 @@ class TestIeee1588(TestCase):
>          out = self.send_session.get_session_before(timeout=20)
>          self.send_session.send_expect("^C", "# ", 20)
>          self.send_session.close()
> -        out = self.send_session.get_session_output(timeout=20)
> -        self.send_session.send_expect("^C", "# ", 20)
> -        self.send_session.close()
> 
> 
>          self.verify("0x88f7" in out, "Ether type is not PTP")
> --
> 1.8.3.1
  
Zhang, XiX Sept. 22, 2020, 7:35 a.m. UTC | #3
Hi Lihong
  
Please ignore this patch. Lingli has submitted the latest patch

> -----Original Message-----
> From: Ma, LihongX
> Sent: Tuesday, September 22, 2020 3:27 PM
> To: Zhang, XiX <xix.zhang@intel.com>
> Subject: RE: [dts] [PATCH V1] tests/TestSuite_ieee1588:change tester session
> to new session
  

Patch

diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
index f15f3bd..74bc35d 100644
--- a/tests/TestSuite_ieee1588.py
+++ b/tests/TestSuite_ieee1588.py
@@ -105,9 +105,6 @@  class TestIeee1588(TestCase):
         out = self.send_session.get_session_before(timeout=20)
         self.send_session.send_expect("^C", "# ", 20)
         self.send_session.close()
-        out = self.send_session.get_session_output(timeout=20)
-        self.send_session.send_expect("^C", "# ", 20)
-        self.send_session.close()
 
 
         self.verify("0x88f7" in out, "Ether type is not PTP")