Whamcloud - gitweb
LU-7763 tests: improve sanityn 33d 37/32937/2
authorLai Siyao <lai.siyao@intel.com>
Sat, 4 Aug 2018 05:29:38 +0000 (22:29 -0700)
committerJohn L. Hammond <jhammond@whamcloud.com>
Mon, 13 Aug 2018 19:45:46 +0000 (19:45 +0000)
commit23423374c405bba5c00c71be368332d482e69e1a
treefcd9b9561ae88589c6f5aafe0c368792a621f1f2
parentf6b43dc95aa06165b94ab7f8589bce76321868b6
LU-7763 tests: improve sanityn 33d

Sanityn.sh 33d verifies that CoS (Commit-on-Sharing) for DNE, but if
transaction commits before unlock, CoS will not be triggered. To
avoid this, do all tests twice, it's unlikely that both will fail.

This patch is back-ported from the following one:
Lustre-commit: 9d49453b675fba97002a2553769be89800783db3
Lustre-change: https://review.whamcloud.com/31946

Test-Parameters: trivial testlist=sanityn mdscount=2 mdtcount=4

Change-Id: If20670321e4bda9763b3794145d62a7264e7cef6
Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-on: https://review.whamcloud.com/32937
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/tests/sanityn.sh