diff options
author | Brian Behlendorf <[email protected]> | 2021-12-23 09:21:40 -0800 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-02-16 17:58:55 -0800 |
commit | 8285e1b09d7ba27825dec1fcc9c482683232ff67 (patch) | |
tree | d3637805eb4b7337533103dd66ef77ac5cc6a945 /tests | |
parent | c454e46336c31d3fe2c6491c57b1e71963ca7ed6 (diff) |
ZTS: Fix enospc_002_pos.ksh again
This is a follow up commit for e03a41a60 which aimed to resolve
this same test failure. The core "problem" here is that it takes
very little space to perform a clone/snapshot/bookmark, which
means if we want these commands to reliably fail the pool must
truely have exhausted all free space.
This commit increases the number of fill iterations to try and
consume every block which we can. This still can't guarantee
the clone/snapshot/bookmark will fail, but it significantly
improves the odds. The exception was kept since it's still
not a sure thing.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Igor Kozhukhov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #12903
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh index db6ee6ba7..6239d491e 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh @@ -49,7 +49,7 @@ log_must zfs snapshot $TESTPOOL/$TESTFS@snap # log_note "Writing files until ENOSPC." -for i in $(seq 30); do +for i in $(seq 100); do file_write -o create -f $TESTDIR/file.$i -b $BLOCKSZ \ -c $NUM_WRITES -d $DATA ret=$? |