diff --git a/conn_pool_test.go b/conn_pool_test.go index 93fea4d4..c83945f2 100644 --- a/conn_pool_test.go +++ b/conn_pool_test.go @@ -481,7 +481,7 @@ func TestConnPoolQueryConcurrentLoad(t *testing.T) { } if rows.Err() != nil { - t.Fatalf("conn.Query failed: ", err) + t.Fatalf("conn.Query failed: ", rows.Err()) } if rowCount != 1000 {