Whamcloud - gitweb
LU-2620 tests: Flush changes from test 5 in replay-ost-single
authorBob Glossman <bob.glossman@intel.com>
Wed, 16 Jan 2013 19:57:51 +0000 (11:57 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Feb 2013 03:05:51 +0000 (22:05 -0500)
Use wait_delete_completed_mds to flush out and wait for all the
effects on kbytesavail from test 5 to finish before test 6 starts.

Test-Parameters: testlist=replay-ost-single envdefinitions=SLOW=yes

Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: Id37cf23402dd609e6743c36a1aff8e71dd246776
Reviewed-on: http://review.whamcloud.com/5042
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/replay-ost-single.sh

index b7115a6..958656b 100755 (executable)
@@ -160,6 +160,7 @@ test_5() {
     rc=$?
     log "iozone rc=$rc"
     rm -f $TDIR/$tfile
+    wait_delete_completed_mds
     [ $rc -eq 0 ] || error "iozone failed"
     return $rc
 }