Skip to content

Commit dbed2bd

Browse files
craig[bot]yuzefovich
andcommitted
Merge #155477
155477: copy: use longer timeout under race in TestCopyInReleasesLeases r=yuzefovich a=yuzefovich Don't hard-code usage of `DefaultSucceedsSoonDuration` - use the helper function that gives longer duration under heavy configs. Fixes: #155335. Release note: None Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
2 parents abe5ceb + 1355cd8 commit dbed2bd

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)