Whamcloud - gitweb
LU-8526 tests: ensure all OSTs active for allocations 48/23148/2
authorBruno Faccini <bruno.faccini@intel.com>
Thu, 13 Oct 2016 21:53:53 +0000 (23:53 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 15 Feb 2017 01:02:54 +0000 (01:02 +0000)
commit04794b33653fedca282d6f8dfd9c1c9e833ead06
tree31347c6b04bbc6d0d9909e330359a553d9fecc3d
parent05ad99f1f3a9f85756bf3355505722bb4f20f420
LU-8526 tests: ensure all OSTs active for allocations

This patch ensures that all OSTs are active to be selected
for objids allocations. This will allow for random selection
of OSTs during setstripe to be effective.
To do so, wait_osts_up() has been exported from conf-sanity
to test-framework to become part of the generic functions
set and be used from any tests suites, and particularly in
replay-single/test_90 sub-test.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Id5db31948ab86c1b3c2bc289191917ed3e8aadf8
Reviewed-on: https://review.whamcloud.com/23148
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh
lustre/tests/replay-single.sh
lustre/tests/test-framework.sh