Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=19086
[fs/lustre-release.git]
/
lustre
/
tests
/
insanity.sh
diff --git
a/lustre/tests/insanity.sh
b/lustre/tests/insanity.sh
index
06b5ca3
..
4d4f770
100755
(executable)
--- a/
lustre/tests/insanity.sh
+++ b/
lustre/tests/insanity.sh
@@
-148,14
+148,10
@@
check_and_setup_lustre
echo "Starting Test 17 at `date`"
test_0() {
echo "Starting Test 17 at `date`"
test_0() {
- facet_failover $SINGLEMDS
- echo "Waiting for df pid: $DFPID"
- wait $DFPID || { echo "df returned $?" && return 1; }
+ fail $SINGLEMDS
for i in $(seq $OSTCOUNT) ; do
for i in $(seq $OSTCOUNT) ; do
- facet_failover ost$i || return 4
- echo "Waiting for df pid: $DFPID"
- wait $DFPID || { echo "df returned $?" && return 3; }
+ fail ost$i
done
return 0
}
done
return 0
}
@@
-215,8
+211,7
@@
test_3() {
[ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
#MDS Portion
[ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
#MDS Portion
- facet_failover $SINGLEMDS
- wait $DFPID || echo df failed: $?
+ fail $SINGLEMDS
#Check FS
echo "Test Lustre stability after MDS failover"
#Check FS
echo "Test Lustre stability after MDS failover"
@@
-419,11
+414,8
@@
test_7() {
client_rm testfile
#MDS Portion
client_rm testfile
#MDS Portion
- fa
cet_failover
$SINGLEMDS
+ fa
il
$SINGLEMDS
- #Check FS
- echo "Test Lustre stability after MDS failover"
- wait $DFPID || echo "df on down clients fails " || return 1
$PDSH $LIVE_CLIENT "ls -l $MOUNT"
$PDSH $LIVE_CLIENT "rm -f $MOUNT/*_testfile"
$PDSH $LIVE_CLIENT "ls -l $MOUNT"
$PDSH $LIVE_CLIENT "rm -f $MOUNT/*_testfile"