Whamcloud - gitweb
LU-9845 test: add failmode=panic to zpool import options 49/30649/4
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 22 Dec 2017 16:21:14 +0000 (10:21 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 5 Jan 2018 22:53:10 +0000 (22:53 +0000)
In test-framework.sh add failmode=panic to the zpool import options.

Test-Parameters: trivial
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I3b82f54034d57d99ed1f548bd3ac3736ae98d9f2
Reviewed-on: https://review.whamcloud.com/30649
Tested-by: Jenkins
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/test-framework.sh

index bb7f56c..ddcaccc 100755 (executable)
@@ -1324,7 +1324,7 @@ destroy_zpool() {
 import_zpool() {
        local facet=$1
        shift
-       local opts=${@:-"-o cachefile=none"}
+       local opts=${@:-"-o cachefile=none -o failmode=panic"}
        local poolname
 
        poolname=$(zpool_name $facet)