Change assertions for TimeElapsedDelta in metrics_test.cc

TimeElapsedDelta is a metric that keeps track of the time elapsed
(in milliseconds) since the last metrics report, which means it's
almost always guaranteed to have a value bigger than 0 between two
subsequent reports as in the case of MetricsTest.ResetMetrics and
MetricsTest.KeepEventMetricsResetValueMetricsAfterReporting (unless
the tests manage to run in less that 1ms each). Changing the
assertion only for this particular metric fixes the intermittent
failure experienced by these two tests during CI.

Bug: 300070371
Test: art/test/testrunner/run_build_test_target.py -j80 art-gtest-ss-gc
Change-Id: I1476f837ec26b5f79028b24445c4677f12b68891
1 file changed