summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorJohn Wren Kennedy <john.kennedy@delphix.com>2016-07-20 13:46:52 -0700
committerMatthew Ahrens <mahrens@delphix.com>2016-07-20 15:58:06 -0700
commit92b33eab9463d6c4878cfe65febf2ff232689649 (patch)
treef02251942956111dce38ffe49343db5d8b74de0e /usr/src
parent20c06695f48b938258cc8a122e3e3f602bd0b9a3 (diff)
downloadillumos-joyent-92b33eab9463d6c4878cfe65febf2ff232689649.tar.gz
7194 Reservation tests do not properly calculate reservation size
7195 Increase the default timeout for individual tests in zfstest Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/test/zfs-tests/runfiles/delphix.run4
-rw-r--r--usr/src/test/zfs-tests/runfiles/omnios.run4
-rw-r--r--usr/src/test/zfs-tests/runfiles/openindiana.run4
-rw-r--r--usr/src/test/zfs-tests/tests/functional/reservation/reservation.shlib4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr/src/test/zfs-tests/runfiles/delphix.run b/usr/src/test/zfs-tests/runfiles/delphix.run
index 3b42bc01ef..1fdd593eae 100644
--- a/usr/src/test/zfs-tests/runfiles/delphix.run
+++ b/usr/src/test/zfs-tests/runfiles/delphix.run
@@ -10,7 +10,7 @@
#
#
-# Copyright (c) 2012, 2015 by Delphix. All rights reserved.
+# Copyright (c) 2012, 2016 by Delphix. All rights reserved.
# Copyright 2016, OmniTI Computer Consulting, Inc. All rights reserved.
#
@@ -19,7 +19,7 @@ pre = setup
quiet = False
pre_user = root
user = root
-timeout = 600
+timeout = 1800
post_user = root
post = cleanup
outputdir = /var/tmp/test_results
diff --git a/usr/src/test/zfs-tests/runfiles/omnios.run b/usr/src/test/zfs-tests/runfiles/omnios.run
index 8135752158..a1cef540c5 100644
--- a/usr/src/test/zfs-tests/runfiles/omnios.run
+++ b/usr/src/test/zfs-tests/runfiles/omnios.run
@@ -10,7 +10,7 @@
#
#
-# Copyright (c) 2013, 2015 by Delphix. All rights reserved.
+# Copyright (c) 2013, 2016 by Delphix. All rights reserved.
# Copyright 2016, OmniTI Computer Consulting, Inc. All rights reserved.
#
@@ -19,7 +19,7 @@ pre = setup
quiet = False
pre_user = root
user = root
-timeout = 600
+timeout = 1800
post_user = root
post = cleanup
outputdir = /var/tmp/test_results
diff --git a/usr/src/test/zfs-tests/runfiles/openindiana.run b/usr/src/test/zfs-tests/runfiles/openindiana.run
index 2577a4e020..f8f6af23a7 100644
--- a/usr/src/test/zfs-tests/runfiles/openindiana.run
+++ b/usr/src/test/zfs-tests/runfiles/openindiana.run
@@ -10,7 +10,7 @@
#
#
-# Copyright (c) 2012, 2015 by Delphix. All rights reserved.
+# Copyright (c) 2012, 2016 by Delphix. All rights reserved.
# Copyright 2016, OmniTI Computer Consulting, Inc. All rights reserved.
#
@@ -19,7 +19,7 @@ pre = setup
quiet = False
pre_user = root
user = root
-timeout = 600
+timeout = 1800
post_user = root
post = cleanup
outputdir = /var/tmp/test_results
diff --git a/usr/src/test/zfs-tests/tests/functional/reservation/reservation.shlib b/usr/src/test/zfs-tests/tests/functional/reservation/reservation.shlib
index e58e198152..d0a9b384ec 100644
--- a/usr/src/test/zfs-tests/tests/functional/reservation/reservation.shlib
+++ b/usr/src/test/zfs-tests/tests/functional/reservation/reservation.shlib
@@ -25,7 +25,7 @@
#
#
-# Copyright (c) 2013 by Delphix. All rights reserved.
+# Copyright (c) 2013, 2016 by Delphix. All rights reserved.
#
. $STF_SUITE/tests/functional/reservation/reservation.cfg
@@ -144,7 +144,7 @@ function volsize_to_reservation
typeset vol=$1
typeset -i volsize=$2
- typeset -i DN_MAX_INDBLKSHIFT=14
+ typeset -i DN_MAX_INDBLKSHIFT=17
typeset -i SPA_BLKPTRSHIFT=7
typeset -i SPA_DVAS_PER_BP=3