Whamcloud - gitweb
LU-2049 tests: Add GRANT_CHECK_LIST to sanity 19/21619/12
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Mon, 1 Aug 2016 20:23:40 +0000 (16:23 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:54:44 +0000 (03:54 +0000)
commit44c672e6aca39acbcca2aeb1b5b5b61a45265ce4
treeb895276b6220c035f880bc07150188fb7f7e4a2e
parente125515c4c48094379cf828085ddcd166861cb6a
LU-2049 tests: Add GRANT_CHECK_LIST to sanity

Test GRANT_CHECK_LIST across a selection of sanity.

Fix check_grant() to account for grant precreate and grant pending and
subtract it from total grant on OSTs.

Test-Parameters: trivial osscount=2 mdscount=2 mdtcount=1 ostcount=2 mdtfilesystemtype=zfs ostfilesystemtype=zfs testlist=sanity
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I05b9f994033e8edf92bf30a17f74f2a0f6bee462
Reviewed-on: https://review.whamcloud.com/21619
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
lustre/tests/sanity.sh
lustre/tests/test-framework.sh