Merge "[FT] Do not fail when decoding the JSON from ip_monitor"

This commit is contained in:
Zuul
2021-01-28 09:49:44 +00:00
committed by Gerrit Code Review

View File

@ -733,7 +733,7 @@ class IpMonitorTestCase(testscenarios.WithScenarios,
if ip_address not in registers:
return False
return True
except (OSError, IOError):
except (OSError, IOError, ValueError):
return False
def _check_read_file(self, ip_addresses):