Whamcloud - gitweb
LU-8203 tests: Wait for archive operation to be completed. 42/20442/8
authorKirtankumar Krishna Shetty <kirtan.shetty@seagate.com>
Wed, 25 May 2016 11:33:48 +0000 (17:03 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 22 Jun 2016 02:55:43 +0000 (02:55 +0000)
commit5b0469613c44a5423233a054d949dcd71c75a3c4
treef9c3afcdf975beae3ab07a5f1a85575283417800
parent829ccf49b1923065b4bdb483a61506b3d0652290
LU-8203 tests: Wait for archive operation to be completed.

As bandwith control is set to 1048576B/s in the test, so
the archive operation takes <= 40 secs to copy 39000000
bytes.

If we dont wait for the on going archive action to finish
then status will remain as STARTED and never becomes
SUCCEED as we call copytool_cleanup soon after archiving
5MB of data and the request will be stuck there for ever.

Sometimes because of previous unclean shutdown of copytool,
test_60 results in failure because of stuck request.

Test-Parameters: trivial testlist=sanity-hsm,sanity-hsm

Change-Id: I2413c32a617e43fb24e7ca6696026a3c9e1cad00
Seagate-bug-id: MRP-2586
Signed-off-by: Kirtankumar Krishna Shetty <kirtan.shetty@seagate.com>
Reviewed-on: http://review.whamcloud.com/20442
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-hsm.sh