Skip to content

Commit e7a001d

Browse files
committed
test(syncer): relax concurrent cancellation race deadline
1 parent 952a18e commit e7a001d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/syncer/message_sync_helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func TestMessageChannelConcurrentErrorAndProgressBranches(t *testing.T) {
200200
func TestMessageChannelConcurrentFatalErrorCancelsPeers(t *testing.T) {
201201
t.Parallel()
202202

203-
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
203+
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
204204
defer cancel()
205205
s, err := store.Open(ctx, filepath.Join(t.TempDir(), "discrawl.db"))
206206
require.NoError(t, err)

0 commit comments

Comments
 (0)