mirror of https://github.com/jackc/pgx.git
Check for more specific error
parent
585022440b
commit
ed3e9f1dd4
|
@ -318,6 +318,7 @@ func TestInternalNonBlockingWriteWithDeadline(t *testing.T) {
|
||||||
|
|
||||||
err = conn.Flush()
|
err = conn.Flush()
|
||||||
require.Error(t, err)
|
require.Error(t, err)
|
||||||
|
require.Contains(t, err.Error(), "i/o timeout")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue