* [dts] [PATCH V1]tests/keep_alive: fix wrong output message
@ 2019-07-02 8:20 yufengmx
2019-07-02 8:20 ` yufengmx
0 siblings, 1 reply; 4+ messages in thread
From: yufengmx @ 2019-07-02 8:20 UTC (permalink / raw)
To: dts; +Cc: yufengmx
fix wrong output message format in test case test_keep_alive
yufengmx (1):
tests/keep_alive: fix wrong output message
tests/TestSuite_keep_alive.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.9.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dts] [PATCH V1]tests/keep_alive: fix wrong output message
2019-07-02 8:20 [dts] [PATCH V1]tests/keep_alive: fix wrong output message yufengmx
@ 2019-07-02 8:20 ` yufengmx
[not found] ` <B8B15C44A3F2C044966E545C7B7371153E811B8F@shsmsx102.ccr.corp.intel.com>
2019-07-03 5:41 ` Tu, Lijuan
0 siblings, 2 replies; 4+ messages in thread
From: yufengmx @ 2019-07-02 8:20 UTC (permalink / raw)
To: dts; +Cc: yufengmx
fix wrong output message format in test case test_keep_alive.
Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
tests/TestSuite_keep_alive.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_keep_alive.py b/tests/TestSuite_keep_alive.py
index e29ea8b..d9fc9b2 100644
--- a/tests/TestSuite_keep_alive.py
+++ b/tests/TestSuite_keep_alive.py
@@ -79,7 +79,7 @@ class TestKeepAlive(TestCase):
p = re.compile(r'\d+')
result = p.findall(out)
amount = 2000 * len(self.dut_ports)
- self.verify(str(amount) in result, "Wrong: can't get <%s> package")
+ self.verify(str(amount) in result, "Wrong: can't get <%d> package" % amount)
def scapy_send_packet(self,nu):
"""
--
1.9.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V1]tests/keep_alive: fix wrong output message
[not found] ` <B8B15C44A3F2C044966E545C7B7371153E811B8F@shsmsx102.ccr.corp.intel.com>
@ 2019-07-03 1:30 ` Wan, Zhe
0 siblings, 0 replies; 4+ messages in thread
From: Wan, Zhe @ 2019-07-03 1:30 UTC (permalink / raw)
To: Mo, YufengX, dts
Acked-by: Wan, Zhe <zhe.wan@intel.com>
> -----Original Message-----
> From: Mo, YufengX
> Sent: Tuesday, July 2, 2019 4:21 PM
> To: dts@dpdk.org
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts][PATCH V1]tests/keep_alive: fix wrong output message
>
>
> fix wrong output message format in test case test_keep_alive.
>
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
> tests/TestSuite_keep_alive.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_keep_alive.py
> b/tests/TestSuite_keep_alive.py index e29ea8b..d9fc9b2 100644
> --- a/tests/TestSuite_keep_alive.py
> +++ b/tests/TestSuite_keep_alive.py
> @@ -79,7 +79,7 @@ class TestKeepAlive(TestCase):
> p = re.compile(r'\d+')
> result = p.findall(out)
> amount = 2000 * len(self.dut_ports)
> - self.verify(str(amount) in result, "Wrong: can't get <%s> package")
> + self.verify(str(amount) in result, "Wrong: can't get <%d>
> + package" % amount)
>
> def scapy_send_packet(self,nu):
> """
> --
> 1.9.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V1]tests/keep_alive: fix wrong output message
2019-07-02 8:20 ` yufengmx
[not found] ` <B8B15C44A3F2C044966E545C7B7371153E811B8F@shsmsx102.ccr.corp.intel.com>
@ 2019-07-03 5:41 ` Tu, Lijuan
1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2019-07-03 5:41 UTC (permalink / raw)
To: Mo, YufengX, dts; +Cc: Mo, YufengX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx
> Sent: Tuesday, July 2, 2019 4:21 PM
> To: dts@dpdk.org
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1]tests/keep_alive: fix wrong output message
>
>
> fix wrong output message format in test case test_keep_alive.
>
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
> tests/TestSuite_keep_alive.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_keep_alive.py b/tests/TestSuite_keep_alive.py
> index e29ea8b..d9fc9b2 100644
> --- a/tests/TestSuite_keep_alive.py
> +++ b/tests/TestSuite_keep_alive.py
> @@ -79,7 +79,7 @@ class TestKeepAlive(TestCase):
> p = re.compile(r'\d+')
> result = p.findall(out)
> amount = 2000 * len(self.dut_ports)
> - self.verify(str(amount) in result, "Wrong: can't get <%s> package")
> + self.verify(str(amount) in result, "Wrong: can't get <%d>
> + package" % amount)
>
> def scapy_send_packet(self,nu):
> """
> --
> 1.9.3
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-03 5:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-02 8:20 [dts] [PATCH V1]tests/keep_alive: fix wrong output message yufengmx
2019-07-02 8:20 ` yufengmx
[not found] ` <B8B15C44A3F2C044966E545C7B7371153E811B8F@shsmsx102.ccr.corp.intel.com>
2019-07-03 1:30 ` Wan, Zhe
2019-07-03 5:41 ` 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).