Whamcloud - gitweb
LU-4086 tests: strengthen sanity-hsm/test_33 12/10712/2
authorBruno Faccini <bruno.faccini@intel.com>
Wed, 12 Mar 2014 13:12:33 +0000 (14:12 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 7 Oct 2014 13:19:13 +0000 (13:19 +0000)
commitfe06b4b16da7b89e82060d632961ee769331a501
tree25a59fb1a5de216d19c18acb4f5e562cadcb958f
parentd9828e840f8496c932fb1d83f46c1f9fd8281e24
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.

Lustre-change: http://review.whamcloud.com/9600
Lustre-commit: adc6a5e76348d9bb1c8355103f419405a14decca

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>
(cherry picked from commit adc6a5e76348d9bb1c8355103f419405a14decca)
Reviewed-on: http://review.whamcloud.com/10712
lustre/tests/sanity-hsm.sh