aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_scripts
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-03-30 13:39:36 +0200
committerGerrit Code Review <gerrit@fd.io>2016-04-04 13:51:59 +0000
commita978ecded86a28d2b195c270e074031f1704dd15 (patch)
treefa5704558773c6aea385f3e4374bb424efa3136b /resources/traffic_scripts
parenta2bb116ad0962a99c37faea9ba87a7bfc9367a5e (diff)
Change send_ip_icmp recv timeout to 2sec
Traffic script send_ip_icmp recv timeout 10 sec is too long and execution rather end with ssh timeout. Change-Id: Id4df679799191fd03e2987f068f3ea9e7bf12fdf Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'resources/traffic_scripts')
-rwxr-xr-xresources/traffic_scripts/send_ip_icmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/traffic_scripts/send_ip_icmp.py b/resources/traffic_scripts/send_ip_icmp.py
index f797bda163..711bf3dd25 100755
--- a/resources/traffic_scripts/send_ip_icmp.py
+++ b/resources/traffic_scripts/send_ip_icmp.py
@@ -47,7 +47,7 @@ def main():
sent_packets.append(pkt_raw)
txq.send(pkt_raw)
- ether = rxq.recv(10)
+ ether = rxq.recv(2)
# Check whether received packet contains layers Ether, IP and ICMP
if ether is None: