Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
  • go
  • src
  • database
  • sql
  • sql_test.go
Find file BlameHistoryPermalink
  • Daniel Theophanes's avatar
    [release-branch.go1.8] database/sql: convert test timeouts to explicit waits with checks · ae13ccfd
    Daniel Theophanes authored Feb 12, 2017
    When testing context cancelation behavior do not rely on context
    timeouts. Use explicit checks in all such tests. In closeDB
    convert the simple check for zero open conns with a wait loop
    for zero open conns.
    
    Fixes #19024
    Fixes #19041
    
    Change-Id: Iecfcc4467e91249fceb21ffd1f7c62c58140d8e9
    Reviewed-on: https://go-review.googlesource.com/36902
    
    
    Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarRuss Cox <rsc@golang.org>
    Reviewed-on: https://go-review.googlesource.com/36917
    
    
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: default avatarDaniel Theophanes <kardianos@gmail.com>
    ae13ccfd
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7