Statsd CTS: improve DurationAnomalyDetection

Recent changes in statsd seem to have made the DurationAnomalyDetection
tests flakey, since the timing was so close. This relaxes the
requirements to something much more reasonable.

Bug: 77916472
Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert.AnomalyDetectionTests#testDurationAnomalyDetectionForLateAlarms
Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert.AnomalyDetectionTests#testDurationAnomalyDetection
Change-Id: Id179006c2dd892fe0c642148e711a344cba7a464
1 file changed