Change send_ip_icmp recv timeout to 2sec 47/647/2
authorMatus Fabian <matfabia@cisco.com>
Wed, 30 Mar 2016 11:39:36 +0000 (13:39 +0200)
committerGerrit Code Review <gerrit@fd.io>
Mon, 4 Apr 2016 13:51:59 +0000 (13:51 +0000)
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>
resources/traffic_scripts/send_ip_icmp.py

index f797bda..711bf3d 100755 (executable)
@@ -47,7 +47,7 @@ def main():
     sent_packets.append(pkt_raw)
     txq.send(pkt_raw)
 
     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:
 
     # Check whether received packet contains layers Ether, IP and ICMP
     if ether is None: