summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2017-02-06 13:20:41 +0200
committerimarom <imarom@cisco.com>2017-02-06 13:21:44 +0200
commitbcea02625fb2ce43ee81e56320941dfd8ff10327 (patch)
tree1f237b927b4a3a75a53befca0e68ae765cd05b04 /scripts/automation/regression
parent1570aea16299122399e14c7c281fe3d4259e63a7 (diff)
added example for functional tests using start_capture/stop_capture APIs
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/regression')
-rw-r--r--scripts/automation/regression/stateless_tests/stl_general_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_general_test.py b/scripts/automation/regression/stateless_tests/stl_general_test.py
index 7d44d04a..6470d8c2 100644
--- a/scripts/automation/regression/stateless_tests/stl_general_test.py
+++ b/scripts/automation/regression/stateless_tests/stl_general_test.py
@@ -37,6 +37,7 @@ class CStlGeneral_Test(CTRexGeneral_Test):
sys.stdout.write('.')
sys.stdout.flush()
try:
+ CTRexScenario.stl_trex.remove_all_captures()
CTRexScenario.stl_ports_map = stl_map_ports(self.stl_trex)
if self.verify_bidirectional(CTRexScenario.stl_ports_map):
print('')