Whamcloud - gitweb
LU-1897 test: replay-single test_70b dbench not found
authorKeith Mannthey <keith.mannthey@intel.com>
Mon, 21 Jan 2013 18:02:07 +0000 (10:02 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Jan 2013 05:17:31 +0000 (00:17 -0500)
commit1536807853b539e00d4c490778ad1e13da9e19ba
treedfa17838db45ce99c1156ae809780e742a569808
parent64f99d8993d8f4087de2adf59e9a834823f92898
LU-1897 test: replay-single test_70b dbench not found

dbench is exiting before test_70b completes is work.

dbench is being used as a background load in this test.
In one observed case test was taking a little under 90s but
dbench was exiting at 62s. Duration was set at 90.

Presently dbench starts for 60s then the system sleeps
for 12s, then we start a new 60s timer in which we expect
dbench to be running.  There is a large window in which
this test will fail.

The main issue is the use of Duration for use as both the
timer of the real test and the timer of the background load.

I raised the real Duration and started the timer for the real
test before starting dbench such that the real test should
finish before dbench does or about the same time.

Signed-off-by: Keith Mannthey <keith.mannthey@intel.com>
Change-Id: Iba243fe3132a5fa677e5a7bcd09e491727ba092a
Reviewed-on: http://review.whamcloud.com/4973
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Hudson
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/replay-single.sh