diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-07-05 20:44:45 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-07-05 20:44:45 +0300 |
commit | 51db963aa7d8414b708f0a978cd16c67039a8d6e (patch) | |
tree | 45135f63c63a40227987d4c1deef9e294388aa0c /scripts/automation/trex_control_plane/stl/examples | |
parent | 17e8c035f98516e53902aeb8e537806b61504792 (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.py | 2 |
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() |