Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add Honeycomb VxLAN test suite
[csit.git]
/
resources
/
libraries
/
python
/
TrafficScriptExecutor.py
diff --git
a/resources/libraries/python/TrafficScriptExecutor.py
b/resources/libraries/python/TrafficScriptExecutor.py
index
89362c5
..
fa44623
100644
(file)
--- a/
resources/libraries/python/TrafficScriptExecutor.py
+++ b/
resources/libraries/python/TrafficScriptExecutor.py
@@
-65,7
+65,10
@@
class TrafficScriptExecutor(object):
logger.debug("stderr: {}".format(stderr))
logger.debug("ret_code: {}".format(ret_code))
if ret_code != 0:
logger.debug("stderr: {}".format(stderr))
logger.debug("ret_code: {}".format(ret_code))
if ret_code != 0:
- raise Exception("Traffic script execution failed")
+ if "RuntimeError: ICMP echo Rx timeout" in stderr:
+ raise Exception("ICMP echo Rx timeout")
+ else:
+ raise Exception("Traffic script execution failed")
@staticmethod
def traffic_script_gen_arg(rx_if, tx_if, src_mac, dst_mac, src_ip, dst_ip):
@staticmethod
def traffic_script_gen_arg(rx_if, tx_if, src_mac, dst_mac, src_ip, dst_ip):