Whamcloud - gitweb
LU-1410 test: Allow sanity test 200 to work with one OST
authorKeith Mannthey <keith@whamcloud.com>
Tue, 21 Aug 2012 01:43:37 +0000 (18:43 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 23 Aug 2012 03:56:54 +0000 (23:56 -0400)
The sanity test is failing test 200 with one OST. When
the test adds machines to the pool it is not passing
valid arguments.

Changing first_ost=0 is allowing the test to run.

Signed-off-by:Keith Mannthey <keith@whamcloud.com>
Change-Id: I45aef14e7814f170024c71f904b888423d8f8c90
Reviewed-on: http://review.whamcloud.com/3730
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh

index c6f92b8..a960a1c 100644 (file)
@@ -8815,7 +8815,7 @@ test_200() {
        local POOL_ROOT=${POOL_ROOT:-$DIR/d200.pools}
        local POOL_DIR_NAME=${POOL_DIR_NAME:-dir_tst}
        # Pool OST targets
-       local first_ost=1
+       local first_ost=0
        local last_ost=$(($OSTCOUNT - 1))
        local ost_step=2
        local ost_list=$(seq $first_ost $ost_step $last_ost)