Skip to content

Commit

Permalink
ZTS: Update enospc_002_pos test case
Browse files Browse the repository at this point in the history
The on-disk cost of creating a bookmark is sufficently low that it
is difficult to make it reliably fail even when the pool is "full".
In order to avoid this test incorrectly failing because the bookmark
was created the check has been removed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
  • Loading branch information
behlendorf committed Feb 3, 2022
1 parent 15aa386 commit 27b5f59
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/test-runner/bin/zts-report.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 0 additions & 2 deletions tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,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.$$
Expand Down

0 comments on commit 27b5f59

Please sign in to comment.