cockroach
cockroach copied to clipboard
release-23.2: roachtest: use first transient error when checking for flakes
Backport 1/1 commits from #124403.
/cc @cockroachdb/release
Previously, roachtest would only look at the outermost error in a chain that matched a TransientError
(or ErrorWithOwnership
) when checking for flakes. However, that is in most cases not what we want: if a transient error wraps another transient error, the actual reason for the failure is the original (wrapped) error.
Informs: #123887
Release note: None
Release justification: test only change.