Skip to content

Commit 68b1723

Browse files
committed
Change-Id: I04d68018162a6fd1e79c7978343306145a0e8e07
2 parents d5470bb + 0255950 commit 68b1723

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/connection/pool_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,8 @@ func TestPool(t *testing.T) {
604604
err = c.Close()
605605
noerr(t, err)
606606

607-
p.Drain()
607+
err = p.Drain()
608+
noerr(t, err)
608609

609610
c, _, err = p.Get(context.Background())
610611
noerr(t, err)

0 commit comments

Comments
 (0)