Whamcloud - gitweb
LU-1458 tests: wait for dbench to start 14/7914/3
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Thu, 10 Oct 2013 15:46:54 +0000 (11:46 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 30 Oct 2013 17:10:08 +0000 (17:10 +0000)
commit206db60c884a9f96342d8c3f91f8b2f0101a716a
tree9abed6a4efde839f8ff5bc2537f580dd1214cf3a
parent226f586c438291f8723decc61469b2812760263d
LU-1458 tests: wait for dbench to start

Use wait_for_function instead of just guessing that 20s will be long
enough for dbench to start.  Wait for up to 6min in 5 second
intervals.  This also ensures that dbench will run for a little while
after it starts.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ic9c61b487c4013cccd620491d617c10e2206fd62
Reviewed-on: http://review.whamcloud.com/7914
Tested-by: Hudson
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/lustre-rsync-test.sh