Don't test cause of death for killed connection
Different platforms have different causes of death
This commit is contained in:
@@ -698,9 +698,6 @@ func TestFatalRxError(t *testing.T) {
|
|||||||
if conn.IsAlive() {
|
if conn.IsAlive() {
|
||||||
t.Fatal("Connection should not be live but was")
|
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) {
|
func TestFatalTxError(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user