Skip to content

Commit 1958ced

Browse files
committed
remove throws InterruptedException from tests
1 parent 75929f3 commit 1958ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-perf/src/test/java/com/google/firebase/perf/session/gauges/GaugeManagerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public void stopCollectingGauges_invalidGaugeCollectionFrequency_appInForeground
331331
}
332332

333333
@Test
334-
public void testGaugeCounterStartsAJobToConsumeTheGeneratedMetrics() throws InterruptedException {
334+
public void testGaugeCounterStartsAJobToConsumeTheGeneratedMetrics() {
335335
PerfSession fakeSession = createTestSession(1);
336336
testGaugeManager.setApplicationProcessState(ApplicationProcessState.FOREGROUND);
337337
testGaugeManager.startCollectingGauges(fakeSession);
@@ -372,7 +372,7 @@ public void testGaugeCounterStartsAJobToConsumeTheGeneratedMetrics() throws Inte
372372
}
373373

374374
@Test
375-
public void testGaugeCounterIsDecrementedWhenLogged() throws InterruptedException {
375+
public void testGaugeCounterIsDecrementedWhenLogged() {
376376
int priorGaugeCounter = GaugeCounter.count();
377377

378378
PerfSession fakeSession = createTestSession(1);

0 commit comments

Comments
 (0)