diff --git a/system_tests/monitoring.py b/system_tests/monitoring.py index 16d342bfaa4b..0a41744b9376 100644 --- a/system_tests/monitoring.py +++ b/system_tests/monitoring.py @@ -29,7 +29,6 @@ retry_500 = RetryErrors(InternalServerError) retry_503 = RetryErrors(ServiceUnavailable) - def _has_timeseries(result): """Return True if a time series query has non-empty results.""" return len(list(result)) > 0 @@ -37,11 +36,8 @@ def _has_timeseries(result): UNKNOWN_METRIC_ERROR = ('The provided filter doesn\'t refer to any known ' 'metric.') - def _unknown_metric(result): """Return True if the error describes writing to an unknown metric..""" - import sys - sys.stderr.write("WOW %s " % result.args) return UNKNOWN_METRIC_ERROR in result.message