Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/ccl/testccl/sqlccl/sqlccl_test: TestShowTransferState flake fix
This used to happen later in the test. These code changes make it happen earlier. ``` testutils.SucceedsSoon(t, func() error { // Waiting for the cluster setting to propagate to the tenant. var enabled bool if err := tenantDB.QueryRow( `SHOW CLUSTER SETTING server.user_login.session_revival_token.enabled`, ).Scan(&enabled); err != nil { return err } if !enabled { return errors.New("cluster setting not yet propagated") } return nil }) ``` Having these code changes later would case a flake. Fixes: cockroachdb#133403 Release note: None
- Loading branch information