We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TestQueryWithTimeout
1 parent 30395c8 commit fa9335cCopy full SHA for fa9335c
pgxmock_test.go
@@ -1148,7 +1148,7 @@ func TestQueryWithTimeout(t *testing.T) {
1148
rs := NewRows([]string{"id", "title"}).FromCSVString("5,hello world")
1149
1150
mock.ExpectQuery("SELECT (.+) FROM articles WHERE id = ?").
1151
- WillDelayFor(15 * time.Millisecond). // Query will take longer than timeout
+ WillDelayFor(50 * time.Millisecond). // Query will take longer than timeout
1152
WithArgs(5).
1153
WillReturnRows(rs)
1154
0 commit comments