summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/examples
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-07-05 20:44:45 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-07-05 20:44:45 +0300
commit51db963aa7d8414b708f0a978cd16c67039a8d6e (patch)
tree45135f63c63a40227987d4c1deef9e294388aa0c /scripts/automation/trex_control_plane/stl/examples
parent17e8c035f98516e53902aeb8e537806b61504792 (diff)
various fixes
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/examples')
-rw-r--r--scripts/automation/trex_control_plane/stl/examples/stl_imix.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py
index 46d86b2b..875186ba 100644
--- a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py
+++ b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py
@@ -5,6 +5,7 @@ import time
import json
from pprint import pprint
import argparse
+import sys
# IMIX test
# it maps the ports to sides
@@ -97,6 +98,7 @@ def imix_test (server, mult):
except STLError as e:
passed = False
print(e)
+ sys.exit(1)
finally:
c.disconnect()