Commit b3d45c1
committed
pkg/sql/catalog/lease: make table creation push test resilient
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 #1572511 parent 1781fc1 commit b3d45c1
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