Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
a2bb116
)
Change send_ip_icmp recv timeout to 2sec
47/647/2
author
Matus Fabian
<matfabia@cisco.com>
Wed, 30 Mar 2016 11:39:36 +0000
(13:39 +0200)
committer
Gerrit 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
patch
|
blob
|
history
diff --git
a/resources/traffic_scripts/send_ip_icmp.py
b/resources/traffic_scripts/send_ip_icmp.py
index
f797bda
..
711bf3d
100755
(executable)
--- 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)
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: