summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/stateless_tests/stl_client_test.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2017-01-03 15:17:58 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2017-01-03 15:17:58 +0200
commit04ecbc54655938241a5e753bdc770d20e1ec5289 (patch)
treee72a79b6d0b5326bc123f90b00bba6a124be0d21 /scripts/automation/regression/stateless_tests/stl_client_test.py
parent39da7bf1856b1ee32e40d4275b4e89d8f97907dd (diff)
Stateless API: increase delay in remove rx filters to 100ms in case of virtual NICs.
Regression: increase delay in remove rx filters in trex07 to 100ms in test_all_profiles test. Change-Id: Ia7dda25c94aeadcaae0b16023f6ea2957a99906f Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts/automation/regression/stateless_tests/stl_client_test.py')
-rw-r--r--scripts/automation/regression/stateless_tests/stl_client_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_client_test.py b/scripts/automation/regression/stateless_tests/stl_client_test.py
index 73dac734..2b425101 100644
--- a/scripts/automation/regression/stateless_tests/stl_client_test.py
+++ b/scripts/automation/regression/stateless_tests/stl_client_test.py
@@ -295,7 +295,10 @@ class STLClient_Test(CStlGeneral_Test):
self.c.resume(ports = [self.tx_port, self.rx_port])
time.sleep(100 / 1000.0)
- self.c.stop(ports = [self.tx_port, self.rx_port])
+ if CTRexScenario.setup_name == 'trex07':
+ self.c.stop(ports = [self.tx_port, self.rx_port], rx_delay_ms = 100)
+ else:
+ self.c.stop(ports = [self.tx_port, self.rx_port])
stats = self.c.get_stats()