[V1] framework/pktgen_trex: increase expected timeout

Message ID 20230320020629.3262566-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] framework/pktgen_trex: increase expected timeout |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Ling, WeiX March 20, 2023, 2:06 a.m. UTC
  When start trex with Intel 82599 series nic, it need more than 30
seconds, so increase expected timeout from 30 to 60.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 framework/pktgen_trex.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tu, Lijuan March 28, 2023, 12:55 a.m. UTC | #1
On Mon, 20 Mar 2023 10:06:29 +0800, Wei Ling <weix.ling@intel.com> wrote:
> When start trex with Intel 82599 series nic, it need more than 30
> seconds, so increase expected timeout from 30 to 60.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Applied, thanks
  

Patch

diff --git a/framework/pktgen_trex.py b/framework/pktgen_trex.py
index 9ae27a1c..7efd9378 100644
--- a/framework/pktgen_trex.py
+++ b/framework/pktgen_trex.py
@@ -615,7 +615,7 @@  class TrexPacketGenerator(PacketGenerator):
                     ]
                 ),
                 "-Per port stats table",
-                30,
+                60,
             )
         try:
             self._connect()