From a978ecded86a28d2b195c270e074031f1704dd15 Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Wed, 30 Mar 2016 13:39:36 +0200 Subject: 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 --- resources/traffic_scripts/send_ip_icmp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources') 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: -- cgit 1.2.3-korg