mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Check for more specific error
This commit is contained in:
parent
585022440b
commit
ed3e9f1dd4
@ -318,6 +318,7 @@ func TestInternalNonBlockingWriteWithDeadline(t *testing.T) {
|
||||
|
||||
err = conn.Flush()
|
||||
require.Error(t, err)
|
||||
require.Contains(t, err.Error(), "i/o timeout")
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user