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.
2 parents 26399a7 + 2b4fa17 commit a54251eCopy full SHA for a54251e
conn_test.go
@@ -1828,7 +1828,7 @@ func TestConnPrepareContext(t *testing.T) {
1828
{
1829
name: "context.WithTimeout exceeded",
1830
ctx: func() (context.Context, context.CancelFunc) {
1831
- return context.WithTimeout(context.Background(), time.Microsecond)
+ return context.WithTimeout(context.Background(), -time.Minute)
1832
},
1833
sql: "SELECT 1",
1834
err: context.DeadlineExceeded,
0 commit comments