Whamcloud - gitweb
LU-7812 tests: address race condition for sanity:120{e,f} 11/24811/6
authorJinshan Xiong <jinshan.xiong@intel.com>
Wed, 11 Jan 2017 02:07:19 +0000 (18:07 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 17 Jan 2017 17:31:23 +0000 (17:31 +0000)
commite240fb5099af8e62c532d314317095800ebb6864
tree69396fb08a09940bdc84e3d561a459fdb16dc4e9
parent835335a244f30c44c5f44d3bcc32570016b3bc01
LU-7812 tests: address race condition for sanity:120{e,f}

By adding a delay between lock cancel and stat, it can avoid the
problem that the locks are still held by ldlm lock thread while
'cancel_lru_locks osc' is called.

Test-Parameters: trivial envdefinitions="ONLY=120e" testlist=sanity,sanity,sanity,sanity,sanity,sanity,sanity,sanity,sanity,sanity
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I2095cb1df05ff45c2671edaed5a61bcdd4a56266
Reviewed-on: https://review.whamcloud.com/24811
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh