Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest: wait for upgrade to complete using retry loop in tpcc
Previously, the `tpcc/mixed-headroom` roachtests would reset the `preserve_downgrade_option` setting and then wait for the upgrade to finish by running a `SET CLUSTER SETTING version = '...'` statement. However, that is not reliable as it's possible for that statement to return an error if the resetting of the `preserve_downgrade_option` has not been propagated yet (see cockroachdb#87201). To avoid this type of flake (which has been observed in manual runs), we use a retry loop waiting for the cluster version to converge, as is done by the majority of upgrade-related roachtests. Epic: None. Release note: None
- Loading branch information