]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZTS: Update enospc_002_pos test case
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 4 Feb 2022 17:36:46 +0000 (09:36 -0800)
committerGitHub <noreply@github.com>
Fri, 4 Feb 2022 17:36:46 +0000 (09:36 -0800)
The on-disk cost of creating a snapshot or bookmark is sufficiently low
that it is difficult to make it reliably fail even when the pool is
"full".  In order to avoid false positives remove these two checks from
the test case.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13060

tests/test-runner/bin/zts-report.py.in
tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh

index 9f00ec11b437ff0aad5313d34ed72dd5cf9ff54f..146188c8fddbbce497efb30aca908bd90f4f6797 100755 (executable)
@@ -242,7 +242,6 @@ maybe = {
     'largest_pool/largest_pool_001_pos': ['FAIL', known_reason],
     'mmp/mmp_on_uberblocks': ['FAIL', known_reason],
     'pyzfs/pyzfs_unittest': ['SKIP', python_deps_reason],
-    'no_space/enospc_002_pos': ['FAIL', enospc_reason],
     'pool_checkpoint/checkpoint_discard_busy': ['FAIL', '11946'],
     'projectquota/setup': ['SKIP', exec_reason],
     'redundancy/redundancy_004_neg': ['FAIL', '7290'],
index 081157cdc719a00e48046895bb9337a4a36b1ad1..2fb3fb46c44ccbb2a6d39f5006eba77be7acb994 100755 (executable)
@@ -61,9 +61,6 @@ done
 
 log_mustnot_expect space zfs create $TESTPOOL/$TESTFS/subfs
 log_mustnot_expect space zfs clone $TESTPOOL/$TESTFS@snap $TESTPOOL/clone
-log_mustnot_expect space zfs snapshot $TESTPOOL/$TESTFS@snap2
-log_mustnot_expect space zfs bookmark \
-    $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS#bookmark
 
 log_must zfs send $TESTPOOL/$TESTFS@snap > $TEST_BASE_DIR/stream.$$
 log_mustnot_expect space zfs receive $TESTPOOL/$TESTFS/recvd < $TEST_BASE_DIR/stream.$$