test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Chen, Zhaoyan" <zhaoyan.chen@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Chen, Zhaoyan" <zhaoyan.chen@intel.com>
Subject: Re: [dts] [PATCH V2 3/3][nsh] tests/uni_pkt: update code
Date: Mon, 4 Nov 2019 05:34:15 +0000	[thread overview]
Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41E0F1C2@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <BE1E572D0441E34284F1F8B7AC28F1970BB13F45@SHSMSX101.ccr.corp.intel.com>

Acked-by: Chen, Zhaoyan <zhaoyan.chen@intel.com>



Regards,
Zhaoyan Chen

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ma, LihongX
> Sent: Wednesday, October 16, 2019 10:00 AM
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V2 3/3][nsh] tests/uni_pkt: update code
> 
> Tested-by:ma,lihong<lihongx.ma@intel.com>
> 
> -----Original Message-----
> From: Ma, LihongX
> Sent: Tuesday, October 15, 2019 5:49 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts][PATCH V2 3/3][nsh] tests/uni_pkt: update code
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  tests/TestSuite_uni_pkt.py | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index
> 0310e04..e6bd42b 100644
> --- a/tests/TestSuite_uni_pkt.py
> +++ b/tests/TestSuite_uni_pkt.py
> @@ -444,9 +444,8 @@ class TestUniPacket(TestCase):
>                               }
> 
>          for packet in nsh_packets:
> -            self.tester.scapy_foreground()
> -            self.tester.scapy_append("sendp([%s],iface='%s')" % (nsh_packets[packet],
> self.tester_iface))
> -            self.tester.scapy_execute()
> +            pk=Packet(nsh_packets[packet])
> +            pk.send_pkt(self.tester, self.tester_iface)
>              out = self.dut.get_session_output(timeout=2)
>              self.verify(nsh_detect_message[packet] in out, "Packet Detection Error
> for : %s" % packet)
>              print utils.GREEN("Detected packet %s Successfully" % packet)
> --
> 2.7.4


  reply	other threads:[~2019-11-04  5:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-14 21:49 [dts] [PATCH V2 1/3][nsh] dep: add support of mpls and nsh lihong
2019-10-14 21:49 ` [dts] [PATCH V2 2/3][nsh] framework/packet: add support of nsh and mpls lihong
2019-11-04  5:33   ` Chen, Zhaoyan
2019-11-22  5:38   ` Tu, Lijuan
2019-10-14 21:49 ` [dts] [PATCH V2 3/3][nsh] tests/uni_pkt: update code lihong
2019-10-16  1:59   ` Ma, LihongX
2019-11-04  5:34     ` Chen, Zhaoyan [this message]
2019-11-04  5:33 ` [dts] [PATCH V2 1/3][nsh] dep: add support of mpls and nsh Chen, Zhaoyan

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=9DEEADBC57E43F4DA73B571777FECECA41E0F1C2@SHSMSX104.ccr.corp.intel.com \
    --to=zhaoyan.chen@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@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).