Skip to content
Snippets Groups Projects
Commit aa651cab authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=17477

i=Adilger
force replay-dual to check and mount MOUNT2
parent b2f366a2
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,12 @@ remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0 ...@@ -31,6 +31,12 @@ remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0
build_test_filter build_test_filter
check_and_setup_lustre check_and_setup_lustre
MOUNTED=$(mounted_lustre_filesystems)
if ! $(echo $MOUNTED | grep -w -q $MOUNT2); then
zconf_mount $HOSTNAME $MOUNT2
MOUNTED2=yes
fi
assert_DIR assert_DIR
rm -rf $DIR/[df][0-9]* rm -rf $DIR/[df][0-9]*
...@@ -539,6 +545,7 @@ run_test 21b "commit on sharing, two clients" ...@@ -539,6 +545,7 @@ run_test 21b "commit on sharing, two clients"
equals_msg `basename $0`: test complete, cleaning up equals_msg `basename $0`: test complete, cleaning up
SLEEP=$((`date +%s` - $NOW)) SLEEP=$((`date +%s` - $NOW))
[ $SLEEP -lt $TIMEOUT ] && sleep $SLEEP [ $SLEEP -lt $TIMEOUT ] && sleep $SLEEP
[ "$MOUNTED2" = yes ] && zconf_umount $HOSTNAME $MOUNT2 || true
check_and_cleanup_lustre check_and_cleanup_lustre
[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG || true [ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG || true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment