tests/softnic: change for new DPDK API

Message ID 1600451833-255574-2-git-send-email-marcinx.danilewicz@intel.com (mailing list archive)
State Accepted
Headers
Series tests/softnic: change for new DPDK API |

Checks

Context Check Description
ci/Intel-dts-suite-test fail Apply issues

Commit Message

Danilewicz, MarcinX Sept. 18, 2020, 5:57 p.m. UTC
  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(-)
  

Comments

Peng, Yuan Sept. 22, 2020, 8:38 a.m. UTC | #1
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.
  
Tu, Lijuan Sept. 28, 2020, 9:01 a.m. UTC | #2
> 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
  

Patch

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)