remove random fail test

This commit is contained in:
Nick Krecklow 2020-05-11 04:15:23 -05:00
parent 84004f22be
commit e8b530bbb8
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94

@ -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)
}