Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
combined
(merge:
0640661
eac3701
)
Merge "Fix bugs in profiler"
author
Tomi Juvonen
<tomi.juvonen@nokia.com>
Thu, 2 Feb 2017 15:20:38 +0000
(15:20 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Thu, 2 Feb 2017 15:20:38 +0000
(15:20 +0000)
1
2
tests/run.sh
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
tests/run.sh
index
227c6ea
,
a26fafe
..
7008650
---
1
/
tests/run.sh
---
2
/
tests/run.sh
+++ b/
tests/run.sh
@@@
-235,10
-236,9
+235,10
@@@
inject_failure()
cat > disable_network.sh << 'END_TXT'
#!/bin/bash -x
dev=$(sudo ip a | awk '/ @COMPUTE_IP@\//{print $7}')
+[[ -n "$dev" ]] || dev=$(sudo ip a | awk '/ @COMPUTE_IP@\//{print $5}')
sleep 1
sudo ip link set $dev down
- echo "doctor set
host
down at" $(date "+%s.%N")
+ echo "doctor set
link
down at" $(date "+%s.%N")
sleep 180
sudo ip link set $dev up
sleep 1