Whamcloud - gitweb
b=23818 sanity_quota test_32 fix
authorAndrew Perepechko <andrew.perepechko@oracle.com>
Thu, 14 Oct 2010 14:50:10 +0000 (18:50 +0400)
committerVitaly Fertman <vitaly.fertman@sun.com>
Thu, 14 Oct 2010 23:28:17 +0000 (03:28 +0400)
wait until MDS-OST synchronization is done

i=Johann Lombardi
i=ZhiYong Tian

lustre/tests/sanity-quota.sh

index 7fe96a0..4c1930d 100644 (file)
@@ -2166,6 +2166,10 @@ test_32()
         cleanup_and_setup_lustre
         LOAD_MODULES_REMOTE=$LMR_orig
 
+        client_up
+        wait_mds_ost_sync
+        quota_init
+
         for user in $SANITY_QUOTA_USERS; do
            check_runas_id_ret $user quota_usr "runas -u $user -g quota_usr" >/dev/null 2>/dev/null || \
                missing_users="$missing_users $user"