mirror of
https://github.com/golang/go
synced 2024-09-06 00:19:45 +00:00
database/sql: remove useless error check
Change-Id: Id2d45a4b43b05deba4e2c31f7c03008c2f2c18a2
GitHub-Last-Rev: 587bed9a64
GitHub-Pull-Request: golang/go#66110
Reviewed-on: https://go-review.googlesource.com/c/go/+/569075
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
f0d1195e13
commit
0e89b67ed2
|
@ -2402,9 +2402,6 @@ func TestConnMaxLifetime(t *testing.T) {
|
|||
// Expire first conn
|
||||
offset = 11 * time.Second
|
||||
db.SetConnMaxLifetime(10 * time.Second)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
tx, err = db.Begin()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue