test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests softnic: change for new DPDK API
@ 2020-09-18 17:57 Marcin Danilewicz
  2020-09-18 17:57 ` [dts] [PATCH] tests/softnic: " Marcin Danilewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Danilewicz @ 2020-09-18 17:57 UTC (permalink / raw)
  To: dts; +Cc: savinay.dharmappa, marcinx.danilewicz

Modify the test timeout to time needed to apply standard cli firmwares, for changed DPDK API because of new feature to enable dynamic config of subport bandwidth.

Marcin Danilewicz (1):
  tests/softnic: change for new DPDK API

 tests/TestSuite_softnic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.


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

* [dts] [PATCH] tests/softnic: change for new DPDK API
  2020-09-18 17:57 [dts] [PATCH] tests softnic: change for new DPDK API Marcin Danilewicz
@ 2020-09-18 17:57 ` Marcin Danilewicz
  2020-09-22  8:38   ` Peng, Yuan
  2020-09-28  9:01   ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Marcin Danilewicz @ 2020-09-18 17:57 UTC (permalink / raw)
  To: dts; +Cc: savinay.dharmappa, marcinx.danilewicz

Modify the test timeout to time needed to apply cli firmwares,
for changed DPDK API dynamic config of subport bandwidth.

Signed-off-by: Marcin Danilewicz <marcinx.danilewicz@intel.com>
---
 tests/TestSuite_softnic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_softnic.py b/tests/TestSuite_softnic.py
index 7752546..c9744af 100644
--- a/tests/TestSuite_softnic.py
+++ b/tests/TestSuite_softnic.py
@@ -107,7 +107,7 @@ class TestSoftnic(TestCase):
         # 10G nic pps(M)
         expect_pps = [14, 8, 4, 2, 1, 0.9, 0.8]
 
-        self.dut.send_expect(self.cmd % (self.target, self.eal_param, 'firmware.cli'), "testpmd>", timeout=300)
+        self.dut.send_expect(self.cmd % (self.target, self.eal_param, 'firmware.cli'), "testpmd>", timeout=800)
         self.dut.send_expect("set fwd macswap", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
         rx_port = self.tester.get_local_port(0)
-- 
2.7.4

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.


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

* Re: [dts] [PATCH] tests/softnic: change for new DPDK API
  2020-09-18 17:57 ` [dts] [PATCH] tests/softnic: " Marcin Danilewicz
@ 2020-09-22  8:38   ` Peng, Yuan
  2020-09-28  9:01   ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Peng, Yuan @ 2020-09-22  8:38 UTC (permalink / raw)
  To: Danilewicz, MarcinX, dts; +Cc: Dharmappa, Savinay, Danilewicz, MarcinX

Acked by Peng, Yuan <yuan.peng@intel.com>

-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Marcin Danilewicz
Sent: Saturday, September 19, 2020 1:57 AM
To: dts@dpdk.org
Cc: Dharmappa, Savinay <savinay.dharmappa@intel.com>; Danilewicz, MarcinX <marcinx.danilewicz@intel.com>
Subject: [dts] [PATCH] tests/softnic: change for new DPDK API

Modify the test timeout to time needed to apply cli firmwares, for changed DPDK API dynamic config of subport bandwidth.

Signed-off-by: Marcin Danilewicz <marcinx.danilewicz@intel.com>
---
 tests/TestSuite_softnic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_softnic.py b/tests/TestSuite_softnic.py index 7752546..c9744af 100644
--- a/tests/TestSuite_softnic.py
+++ b/tests/TestSuite_softnic.py
@@ -107,7 +107,7 @@ class TestSoftnic(TestCase):
         # 10G nic pps(M)
         expect_pps = [14, 8, 4, 2, 1, 0.9, 0.8]
 
-        self.dut.send_expect(self.cmd % (self.target, self.eal_param, 'firmware.cli'), "testpmd>", timeout=300)
+        self.dut.send_expect(self.cmd % (self.target, self.eal_param, 
+ 'firmware.cli'), "testpmd>", timeout=800)
         self.dut.send_expect("set fwd macswap", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
         rx_port = self.tester.get_local_port(0)
--
2.7.4

--------------------------------------------------------------
Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.


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

* Re: [dts] [PATCH] tests/softnic: change for new DPDK API
  2020-09-18 17:57 ` [dts] [PATCH] tests/softnic: " Marcin Danilewicz
  2020-09-22  8:38   ` Peng, Yuan
@ 2020-09-28  9:01   ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-09-28  9:01 UTC (permalink / raw)
  To: Danilewicz, MarcinX, dts; +Cc: Dharmappa, Savinay, Danilewicz, MarcinX

> Modify the test timeout to time needed to apply cli firmwares, for changed
> DPDK API dynamic config of subport bandwidth.
> 
> Signed-off-by: Marcin Danilewicz <marcinx.danilewicz@intel.com>

Applied

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

end of thread, other threads:[~2020-09-28  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 17:57 [dts] [PATCH] tests softnic: change for new DPDK API Marcin Danilewicz
2020-09-18 17:57 ` [dts] [PATCH] tests/softnic: " Marcin Danilewicz
2020-09-22  8:38   ` Peng, Yuan
2020-09-28  9:01   ` 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).