remove random fail test
This commit is contained in:
parent
84004f22be
commit
e8b530bbb8
@ -140,12 +140,6 @@ class PingController {
|
||||
const version = serverRegistration.getNextProtocolVersion()
|
||||
|
||||
ping(serverRegistration, config.rates.connectTimeout, (err, resp) => {
|
||||
if (Math.random() < 0.1) {
|
||||
err = {
|
||||
message: 'random fail'
|
||||
}
|
||||
resp = undefined
|
||||
}
|
||||
if (err) {
|
||||
logger.log('error', 'Failed to ping %s: %s', serverRegistration.data.ip, err.message)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user