From: Matus Fabian Date: Wed, 30 Mar 2016 11:39:36 +0000 (+0200) Subject: Change send_ip_icmp recv timeout to 2sec X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=a978ecded86a28d2b195c270e074031f1704dd15 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 --- 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: