From 65a2ac003237eaa0e5044e5b8471b40803dfc25c Mon Sep 17 00:00:00 2001 From: tianzy Date: Wed, 30 Apr 2008 09:37:06 +0000 Subject: [PATCH] Branch b1_6 b=15643 i=johann Prolong the waiting time in test_12 of sanity-quota.sh --- lustre/tests/sanity-quota.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 0ba4bf5..8995116 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -158,6 +158,10 @@ test_0() { $LFS setquota -u $TSTUSR 0 0 0 0 $DIR $LFS setquota -g $TSTUSR 0 0 0 0 $DIR sysctl -w lnet.debug="+quota" + do_facet mds "sysctl -w lnet.debug=+quota" + for num in `seq $OSTCOUNT`; do + do_facet ost$num "sysctl -w lnet.debug=+quota" + done } run_test 0 "Set quota =============================" @@ -979,7 +983,7 @@ test_12() { while [ true ]; do if [ -z `ps -ef | awk '$2 == '${DDPID}' { print $8 }'` ]; then break; fi count=$[count+1] - if [ $count -gt 100 ]; then + if [ $count -gt 150 ]; then error "dd should be finished!" fi sleep 1 -- 1.8.3.1