cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

release-23.2: roachtest: use first transient error when checking for flakes

Open renatolabs opened this issue 9 months ago • 2 comments

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.

renatolabs avatar May 23 '24 07:05 renatolabs