Remove log message on ping timeout (#3126)

This commit is contained in:
Daniel Nelson
2017-08-16 11:59:41 -07:00
committed by GitHub
parent 09153c815c
commit eb0215c382
2 changed files with 27 additions and 5 deletions

View File

@@ -211,7 +211,8 @@ Request timeout for icmp_seq 0
`
func mockErrorHostPinger(timeout float64, args ...string) (string, error) {
return errorPingOutput, errors.New("No packets received")
// This error will not trigger correct error paths
return errorPingOutput, nil
}
// Test that Gather works on a ping with no transmitted packets, even though the