Skip to content

Commit 1355cd8

Browse files
committed
copy: use longer timeout under race in TestCopyInReleasesLeases
Don't hard-code usage of `DefaultSucceedsSoonDuration` - use the helper function that gives longer duration under heavy configs. Release note: None
1 parent 2c1b868 commit 1355cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sql/copy/copy_in_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ func TestCopyInReleasesLeases(t *testing.T) {
779779
select {
780780
case err := <-alterErr:
781781
require.NoError(t, err)
782-
case <-time.After(testutils.DefaultSucceedsSoonDuration):
782+
case <-time.After(testutils.SucceedsSoonDuration()):
783783
t.Fatal("alter did not complete")
784784
}
785785
require.NoError(t, conn.Close(ctx))

0 commit comments

Comments
 (0)