Whamcloud - gitweb
b=21900 ost-pools test_25: FAIL: /mnt/lustre/d0.ost-pools/d25/file1 not allocated...
authorDmitry Zogin <dmitry.zogin@sun.com>
Tue, 9 Feb 2010 02:56:16 +0000 (21:56 -0500)
committerRobert Read <rread@sun.com>
Thu, 11 Feb 2010 00:48:59 +0000 (16:48 -0800)
Modify ost-pools test_25 to wait for MDS-OST connection to re-establish.

 i=johann

lustre/tests/ost-pools.sh

index 81c45c5..3b00281 100644 (file)
@@ -1313,7 +1313,8 @@ test_25() {
         stop $SINGLEMDS || return 1
         start $SINGLEMDS ${dev} $MDS_MOUNT_OPTS  || \
             { error "Failed to start $SINGLEMDS after stopping" && break; }
-       clients_up
+        wait_osc_import_state mds ost FULL
+        clients_up
 
         # Veriy that the pool got created and is usable
         echo "Creating a file in pool$i"