[dts] [PATCH V1] modify the test suite ieee1588
Liu, Yong
yong.liu at intel.com
Wed Sep 21 09:34:17 CEST 2016
Gang, please give the reason for waiting 10 seconds. Wait ten seconds
for sniff packet look like meaningless.
On 09/20/2016 04:28 PM, xu,gang wrote:
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
> tests/TestSuite_ieee1588.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
> index bfbb23b..7976c9f 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -92,6 +92,7 @@ class TestIeee1588(TestCase):
> self.tester.scapy_append('time.sleep(1)')
>
> self.tester.scapy_execute()
> + time.sleep(10)
> out = self.tester.scapy_get_result()
> self.verify("0x88f7" in out, "Ether type is not PTP")
> # self.verify("\\x00\\x02" in out, "Payload wrong in PTP")
More information about the dts
mailing list