Whamcloud - gitweb
LU-4086 tests: strengthen sanity-hsm/test_33 00/9600/8
authorBruno Faccini <bruno.faccini@intel.com>
Wed, 12 Mar 2014 13:12:33 +0000 (14:12 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 28 Mar 2014 04:52:35 +0000 (04:52 +0000)
commitadc6a5e76348d9bb1c8355103f419405a14decca
tree256767de6edd0586e386f624670b7043c4ca9127
parentffc62b1d8a51f53d51fc4e77375e0400accfdde5
LU-4086 tests: strengthen sanity-hsm/test_33

Instead of waiting+checking both Restore and Cancel HSM operations
sequentially, wait for both to be finished and then check each
results. This will allow to handle conditions where Restore
terminates before the Cancel is started.

Also added to wait_all_done() the capability to only work on
requests for a specific fid.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: I480ce074513d6829ecb3078c273bac1fdffa6256
Reviewed-on: http://review.whamcloud.com/9600
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Aurelien Degremont <aurelien.degremont@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-hsm.sh