Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a115cf3

Browse files
ahrensbehlendorf
authored andcommitted
OpenZFS 7162 - Intermittent failures from ro_props_001_pos
Reviewed by: John Kennedy <[email protected]> Reviewed by: Dan Kimmel <[email protected]> Approved by: Robert Mustacchi <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Ported-by: Brian Behlendorf <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/7162 OpenZFS-commit: openzfs/openzfs@9ec0cbeb Closes openzfs#5511 Closes openzfs#5779
1 parent 544596c commit a115cf3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

tests/runfiles/linux.run

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ tests = ['zfs_send_001_pos', 'zfs_send_002_pos', 'zfs_send_003_pos',
174174
'zfs_send_004_neg', 'zfs_send_005_pos', 'zfs_send_006_pos',
175175
'zfs_send_007_pos']
176176

177-
# DISABLED:
178-
# ro_props_001_pos - https://github.com/zfsonlinux/zfs/issues/5511
179177
[tests/functional/cli_root/zfs_set]
180178
tests = ['cache_001_pos', 'cache_002_neg', 'canmount_001_pos',
181179
'canmount_002_pos', 'canmount_003_pos', 'canmount_004_pos',
@@ -185,7 +183,7 @@ tests = ['cache_001_pos', 'cache_002_neg', 'canmount_001_pos',
185183
'user_property_001_pos', 'user_property_003_neg', 'readonly_001_pos',
186184
'user_property_004_pos', 'version_001_neg', 'zfs_set_001_neg',
187185
'zfs_set_002_neg', 'zfs_set_003_neg', 'property_alias_001_pos',
188-
'mountpoint_003_pos']
186+
'mountpoint_003_pos', 'ro_props_001_pos']
189187

190188
# DISABLED:
191189
# zfs_share_005_pos - needs investigation, probably unsupported NFS share format

tests/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@
2424
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2525
# Use is subject to license terms.
2626
#
27+
# Copyright (c) 2016 by Delphix. All rights reserved.
28+
#
2729

2830
. $STF_SUITE/include/libtest.shlib
2931
. $STF_SUITE/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib
3032

3133
#
3234
# DESCRIPTION:
3335
# Verify that read-only properties are immutable.
36+
# Note that we can only check properties that have no possibility of
37+
# changing while we are running (which excludes e.g. "available").
3438
#
3539
# STRATEGY:
3640
# 1. Create pool, fs, vol, fs@snap & vol@snap.
@@ -44,10 +48,10 @@ verify_runnable "both"
4448
set -A values filesystem volume snapshot -3 0 1 50K 10G 80G \
4549
2005/06/17 30K 20x yes no \
4650
on off default pool/fs@snap $TESTDIR
47-
set -A dataset $TESTPOOL $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL \
51+
set -A dataset $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL \
4852
$TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS@$TESTSNAP \
4953
$TESTPOOL/$TESTVOL@$TESTSNAP
50-
typeset ro_props="type used available avail creation referenced refer compressratio \
54+
typeset ro_props="type used creation referenced refer compressratio \
5155
mounted origin"
5256
typeset snap_ro_props="volsize recordsize recsize quota reservation reserv mountpoint \
5357
sharenfs checksum compression compress atime devices exec readonly rdonly \

0 commit comments

Comments
 (0)