Whamcloud - gitweb
LU-13184 tests: wait for OST startup in test_112 93/37393/8
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 31 Jan 2020 21:09:14 +0000 (14:09 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 Feb 2021 08:52:09 +0000 (08:52 +0000)
commite5080203e1358673ad7518c2b86bc9a5fc654b5f
tree8960ca91d44f096ade7be32df9b81a914d45d72d
parent3d9b1ae185d90300caa9e357fa29b0e13f6518ad
LU-13184 tests: wait for OST startup in test_112

Wait for OST0000 to finish mounting and connecting to the MDS before
forcing to create any files there.  Otherwise, intermittent failures
are seen because the OST has no objects and returns -ERANGE:

    lfs setstripe: 'f112.conf-sanity.0': Numerical result out of range
    problem creating f112.conf-sanity.0 on OST0000

Test-Parameters: trivial testlist=conf-sanity envdefinitions=ONLY=112,ONLY_REPEAT=100
Fixes: 416e67222b76 ("LU-12036 ofd: add 'no_precreate' mount option")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: If2d547a42c51a7028803ec25680931a7593ebbe5
Reviewed-on: https://review.whamcloud.com/37393
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh
lustre/tests/test-framework.sh