Whamcloud - gitweb
LU-8600 tests: ignore error if running in vm for sanity 399 27/22427/2
authorJinshan Xiong <jinshan.xiong@intel.com>
Sat, 10 Sep 2016 01:50:37 +0000 (18:50 -0700)
committerAndreas Dilger <andreas.dilger@intel.com>
Sat, 10 Sep 2016 05:46:35 +0000 (05:46 +0000)
commit2fd108171fb08563d2e0ddc09789620d402b0014
tree4f11a5f477e7f086445aff2ba8204e4e64cfae0e
parent8d8a153e12437900a876293dedc3cc657810ee83
LU-8600 tests: ignore error if running in vm for sanity 399

Performance in vm is not reliable. Define a new function
error_not_in_vm() to handle this common case.

Test-Parameters: trivial
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I792ec7531564cbc2d80504e77fb3273b79c7ab96
Reviewed-on: http://review.whamcloud.com/22427
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity.sh
lustre/tests/test-framework.sh