Whamcloud - gitweb
LU-6026 tests: modify sanity-sec use right LNET, flush locks 35/13235/6
authorKit Westneat <kit.westneat@gmail.com>
Mon, 5 Jan 2015 05:12:47 +0000 (00:12 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 16 Jan 2015 03:27:05 +0000 (03:27 +0000)
commit01ec56e3ed5a0b08f8d1b143e0f00adbdb2e5183
treeebdf7fdc428e83a0f88de6815df66fd7713465a1
parentee51e8ebc96baf37d59ab771e61f8fc9f8908266
LU-6026 tests: modify sanity-sec use right LNET, flush locks

There were a couple of spots in sanity-sec that had the @tcp LNET type
hardcoded in. This caused it to fail on other LNET networks, like
o2ib. This patch uses the $NETTYPES variable to determine the correct
NID.

There is also a chance that the client will not flush its locks prior
to doing the nodemap tests. This patch adds a line to force a flush.

Test-Parameters: alwaysuploadlogs nettypes=o2ib testlist=sanity-sec
Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: I68c6400217100939c171ad3707ed834c98a7755a
Reviewed-on: http://review.whamcloud.com/13235
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity-sec.sh