]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/131: wait until the server is ready or timeout
authorHou Tao <houtao1@huawei.com>
Fri, 4 Jan 2019 08:19:26 +0000 (16:19 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 6 Jan 2019 14:40:40 +0000 (22:40 +0800)
commite18876187ce76fd69118728206b89c7007752ea7
tree284c83176ce4cdf598ae2d4e2317acb3475ebf5c
parent2408f208c1061927665d0233bfec1a6bb49f0ab1
generic/131: wait until the server is ready or timeout

When running xfstests under KVM VM and the load of host is high,
only delaying 1s and checking the readiness of server are not
enough, and the test case will fail early.

Fix it by repeatedly checking the readiness signal until it's found,
or timeout is triggered.

[Eryu: check if lock server died or not, like v1 patch did]

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/131