Commit a8320b5
Merge #158014
158014: pkg/sql/catalog/lease: make table creation push test resilient r=spilchen a=spilchen
Retry an insert with testutils.SucceedsSoon. This helps to resolve a testflake where the insert fails because it runs with a timestamp from before the schema change that created the table. Normally, the transaction gets pushed, but it can flake in multi-tenant environments.
Release note: none
Closes #157251
Co-authored-by: Matt Spilchen <[email protected]>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1768 | 1768 | | |
1769 | 1769 | | |
1770 | 1770 | | |
1771 | | - | |
| 1771 | + | |
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
| |||
0 commit comments