fix test
This commit is contained in:
parent
103e6ee9ee
commit
5160b48509
|
@ -126,7 +126,7 @@ func TestShortTimeout(t *testing.T) {
|
||||||
query := `SELECT key1, key_id, key2, key3, key4, key5, key6, data
|
query := `SELECT key1, key_id, key2, key3, key4, key5, key6, data
|
||||||
FROM test_table
|
FROM test_table
|
||||||
ORDER BY key2 ASC`
|
ORDER BY key2 ASC`
|
||||||
rows, err := db.QueryContext(ctx, query)
|
_, err = db.QueryContext(ctx, query)
|
||||||
if err != nil && err != context.DeadlineExceeded {
|
if err != nil && err != context.DeadlineExceeded {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue