]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Retry in import_rewind_config_changed.ksh
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 21 Feb 2022 03:21:31 +0000 (19:21 -0800)
committerGitHub <noreply@github.com>
Mon, 21 Feb 2022 03:21:31 +0000 (19:21 -0800)
commita5b3fab341b375ecfaea173ba46abe0b6ff218c4
tree971f8e8eed1883a121507b33d7b8aacb885839e1
parent806739f991aa0d3fc5a36989fff8d8ab8fddf78f
ZTS: Retry in import_rewind_config_changed.ksh

As explained by the disclaimer in the test case,

    "This test can fail since nothing guarantees that old
    MOS blocks aren't overwritten."

This behavior is expected and correct, but results in a
flaky test case which is problematic for the CI.  The best
we can do to resolve this is to retry the sub-test which
failed when the MOS blocks have clearly been overwritten.

When testing failures were rare enough that a single retry
should normally be sufficient.  However, we allow up to
five for good measure.

Reviewed by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13119
tests/test-runner/bin/zts-report.py.in
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_config_changed.ksh