ZTS: Fix enospc_002_pos.ksh again
commitd6885f3209acfba4fa15c1a954cded6ce6e7808f
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 23 Dec 2021 17:21:40 +0000 (23 09:21 -0800)
committerGitHub <noreply@github.com>
Thu, 23 Dec 2021 17:21:40 +0000 (23 09:21 -0800)
treed0a4c3c25ee93e1670bbbd90ed012daf140438cd
parent462217d1c24a0769ec32b6f6e378868c311b2448
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 <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12903
tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh