Whamcloud - gitweb
LU-10907 tests: improve nodemap_test_setup() 18/32018/5
authorEmoly Liu <emoly.liu@intel.com>
Tue, 17 Apr 2018 03:08:04 +0000 (11:08 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 17 May 2018 02:31:05 +0000 (02:31 +0000)
commitbb22454d2203553f657f26e13d6bbeea66270a48
tree3476e1b5d712ea6149d54a3bd5649ba595ebfde6
parent86cb7e80f2a573bb23a10ee9eebe3c7f525bd2d0
LU-10907 tests: improve nodemap_test_setup()

Do wait_nm_sync() after modifying default.admin_nodemap, otherwise
it might cause the latter sync to fail.

Also, this patch checks the number of clients for sanity-sec.sh
test_23a, 2 clients at least for nodemap c0 and c1.

Test-Parameters: trivial testlist=sanity-sec

Change-Id: I7c7d5929b2f2b5aaaa0e7e884fa296fdf3cc1b57
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-on: https://review.whamcloud.com/32018
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-sec.sh