Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dce07d
)
b=20124
author
grev
<grev>
Tue, 28 Jul 2009 16:10:46 +0000
(16:10 +0000)
committer
grev
<grev>
Tue, 28 Jul 2009 16:10:46 +0000
(16:10 +0000)
i=Jian.Yu
wait_for host for HARD failure mode
lustre/tests/test-framework.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
f44f826
..
d753ed9
100644
(file)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-824,6
+824,7
@@
boot_node() {
local node=$1
if [ "$FAILURE_MODE" = HARD ]; then
$POWER_UP $node
+ wait_for_host $node
fi
}
@@
-1907,8
+1908,7
@@
check_network() {
local WAIT=0
local MAX=$2
while [ $NETWORK -eq 0 ]; do
- ping -c 1 -w 3 $1 > /dev/null
- if [ $? -eq 0 ]; then
+ if ping -c 1 -w 3 $1 > /dev/null; then
NETWORK=1
else
WAIT=$((WAIT + 5))