lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
9.01k stars 910 forks source link

possible test flake in TestCopyLoopConnectionError #936

Open kevinburke1 opened 4 years ago

kevinburke1 commented 4 years ago

Running the tests for #935, I got a failure in code that seems unrelated: https://travis-ci.org/lib/pq/jobs/643130375

=== RUN   TestCopyRespLoopConnectionError
--- FAIL: TestCopyRespLoopConnectionError (0.02s)
    copy_test.go:402: expected error

I can't reproduce the failure locally, and the test passed on other versions of the same build matrix: https://travis-ci.org/lib/pq/builds/643130370?utm_source=github_status&utm_medium=notification

QuLogic commented 4 years ago

This test seems racy #563. I've run a build 3 times over, but still not been able to pass this test.