summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-07-14 09:27:33 -0700
committerBrian Behlendorf <[email protected]>2016-07-14 14:05:13 -0700
commit8d9e12451530418778f57315717e35cc5868d98d (patch)
tree7a2649599faf937a2ebdfa46a32dacd7c1ac44f5
parentae25d222354a8074a4db0d85992fc049e2da3089 (diff)
Enable zpool_upgrade test cases
Creating the pool in a striped rather than mirrored configuration provides enough space for all upgrade tests to run. Test case zpool_upgrade_007_pos still fails and must be investigated so it has been left disabled. Signed-off-by: Brian Behlendorf <[email protected]> Closes #4852
-rw-r--r--tests/runfiles/linux.run13
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh2
2 files changed, 8 insertions, 7 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index b2f35ee24..482a6ae5f 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -339,12 +339,13 @@ post =
[tests/functional/cli_root/zpool_status]
tests = ['zpool_status_001_pos', 'zpool_status_002_pos']
-# DISABLED: ENOSPC failure
-#[tests/functional/cli_root/zpool_upgrade]
-#tests = ['zpool_upgrade_001_pos', 'zpool_upgrade_002_pos',
-# 'zpool_upgrade_003_pos', 'zpool_upgrade_004_pos', 'zpool_upgrade_005_neg',
-# 'zpool_upgrade_006_neg', 'zpool_upgrade_007_pos', 'zpool_upgrade_008_pos',
-# 'zpool_upgrade_009_neg']
+# DISABLED:
+# zpool_upgrade_007_pos - needs investigation
+[tests/functional/cli_root/zpool_upgrade]
+tests = ['zpool_upgrade_001_pos', 'zpool_upgrade_002_pos',
+ 'zpool_upgrade_003_pos', 'zpool_upgrade_004_pos', 'zpool_upgrade_005_neg',
+ 'zpool_upgrade_006_neg', 'zpool_upgrade_008_pos',
+ 'zpool_upgrade_009_neg']
# DISABLED:
# zfs_share_001_neg - requires additional dependencies
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh
index 1b75c945e..860ba0f06 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh
@@ -35,4 +35,4 @@ verify_runnable "global"
verify_disk_count "$DISKS" 2
# give us a pool to play in
-default_mirror_setup $DISKS
+default_setup "$DISKS"