Skip to content

Commit fa9335c

Browse files
committed
[*] increase delay in TestQueryWithTimeout
1 parent 30395c8 commit fa9335c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgxmock_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ func TestQueryWithTimeout(t *testing.T) {
11481148
rs := NewRows([]string{"id", "title"}).FromCSVString("5,hello world")
11491149

11501150
mock.ExpectQuery("SELECT (.+) FROM articles WHERE id = ?").
1151-
WillDelayFor(15 * time.Millisecond). // Query will take longer than timeout
1151+
WillDelayFor(50 * time.Millisecond). // Query will take longer than timeout
11521152
WithArgs(5).
11531153
WillReturnRows(rs)
11541154

0 commit comments

Comments
 (0)