mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Don't test cause of death for killed connection
Different platforms have different causes of death
This commit is contained in:
parent
2e8ebc0e27
commit
6c576bbef6
@ -698,9 +698,6 @@ func TestFatalRxError(t *testing.T) {
|
||||
if conn.IsAlive() {
|
||||
t.Fatal("Connection should not be live but was")
|
||||
}
|
||||
if conn.CauseOfDeath().Error() != "EOF" {
|
||||
t.Fatalf("Connection cause of death was unexpected: %v", conn.CauseOfDeath())
|
||||
}
|
||||
}
|
||||
|
||||
func TestFatalTxError(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user