Commit 1e5f2849 authored by gwenn's avatar gwenn

Try to fix Travis build

parent 6a7ede20
...@@ -440,7 +440,7 @@ func TestCancel(t *testing.T) { ...@@ -440,7 +440,7 @@ func TestCancel(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
go func() { go func() {
time.Sleep(200 * time.Millisecond) time.Sleep(100 * time.Millisecond)
cancel() cancel()
}() }()
_, err := db.ExecContext(ctx, "SELECT sleep() FROM test") _, err := db.ExecContext(ctx, "SELECT sleep() FROM test")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment