aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/TrafficScriptExecutor.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2016-08-29 11:02:37 +0200
committerJan Gelety <jgelety@cisco.com>2016-09-12 14:54:41 +0200
commitcdfe60613521e492157153bbe097fdc05193a593 (patch)
treed790828c28353ca11e3a324fb737b117ab1c8ee3 /resources/libraries/python/TrafficScriptExecutor.py
parent2494b7752574e4de0ffcba4ba113dada5b3b2d36 (diff)
CSIT-383: IPSEC IPv4 negative test cases
- use integrity and/or encryption key(s) different from integrity and encryption keys stored on VPP node to create tx packet on TG Change-Id: I38bf7e1dd6f488e605bad991c7a7f4d1ff226e8c Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/TrafficScriptExecutor.py')
-rw-r--r--resources/libraries/python/TrafficScriptExecutor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/TrafficScriptExecutor.py b/resources/libraries/python/TrafficScriptExecutor.py
index a362f45066..33b3d6d520 100644
--- a/resources/libraries/python/TrafficScriptExecutor.py
+++ b/resources/libraries/python/TrafficScriptExecutor.py
@@ -81,6 +81,8 @@ class TrafficScriptExecutor(object):
raise RuntimeError("TCP/UDP Rx timeout")
elif "Error occurred: ARP reply timeout" in stdout:
raise RuntimeError("ARP reply timeout")
+ elif "RuntimeError: ESP packet Rx timeout" in stderr:
+ raise RuntimeError("ESP packet Rx timeout")
else:
raise RuntimeError("Traffic script execution failed")