Whamcloud - gitweb
LU-4442 test: fix wrong usage of wait_mds_ost_sync() 96/8796/6
authorEmoly Liu <emoly.liu@intel.com>
Wed, 1 Jan 2014 21:26:08 +0000 (05:26 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 21 Jan 2014 03:20:18 +0000 (03:20 +0000)
Fix the wrong usage of wait_mds_ost_sync() in replay_vbr.sh
test_7_cycle(). The first parameter should be a timeout in seconds
not a facet.

Test-Parameters: testlist=replay-vbr envdefinitions=ONLY=7
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I4e6de62049b473deeaf5c75e1136d76d67a02053
Reviewed-on: http://review.whamcloud.com/8796
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/replay-vbr.sh

index 2b1f031..c0a1d23 100644 (file)
@@ -728,7 +728,7 @@ test_7_cycle() {
     client_evicted $CLIENT1 || rc=1
 
     wait_recovery_complete $SINGLEMDS
-    wait_mds_ost_sync $SINGLEMDS
+       wait_mds_ost_sync || error "wait_mds_ost_sync failed"
 
     rm -rf $DIR/$tdir
     return $rc