forked from Mirrors/minio
cleanup dsync tests and remove net/rpc references (#14118)
This commit is contained in:
@@ -189,6 +189,9 @@ func TestHTTPListenerStartClose(t *testing.T) {
|
||||
// Ignore if IP is unbindable.
|
||||
continue
|
||||
}
|
||||
if strings.Contains(err.Error(), "bind: address already in use") {
|
||||
continue
|
||||
}
|
||||
t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
|
||||
}
|
||||
|
||||
@@ -232,6 +235,9 @@ func TestHTTPListenerAddr(t *testing.T) {
|
||||
// Ignore if IP is unbindable.
|
||||
continue
|
||||
}
|
||||
if strings.Contains(err.Error(), "bind: address already in use") {
|
||||
continue
|
||||
}
|
||||
t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
|
||||
}
|
||||
|
||||
@@ -272,6 +278,9 @@ func TestHTTPListenerAddrs(t *testing.T) {
|
||||
// Ignore if IP is unbindable.
|
||||
continue
|
||||
}
|
||||
if strings.Contains(err.Error(), "bind: address already in use") {
|
||||
continue
|
||||
}
|
||||
t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user