Revert "No issue: fix glean metrics tests for expired metrics (#20621)"

This reverts commit 3f0590de38.
pull/393/head
Elise Richards 3 years ago
parent 69289014d0
commit 3509db6f97
No known key found for this signature in database
GPG Key ID: C9966B1DB89463B7

@ -16,7 +16,6 @@ import mozilla.components.support.test.robolectric.testContext
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
@ -42,7 +41,6 @@ class StorageStatsMetricsTest {
}
@Test
@Ignore("These metrics have expired.")
fun `WHEN reporting THEN the values from the storageStats are accumulated`() {
every { storageStats.appBytes } returns 100
every { storageStats.cacheBytes } returns 200
@ -56,7 +54,6 @@ class StorageStatsMetricsTest {
}
@Test
@Ignore("These metrics have expired.")
fun `WHEN reporting THEN the query duration is measured`() {
StorageStatsMetrics.reportSync(mockContext)
assertTrue(Metrics.queryStatsDuration.testHasValue())

Loading…
Cancel
Save