File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firebase-perf/src/test/java/com/google/firebase/perf/session/gauges Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ public void testGaugeCounterStartsAJobToConsumeTheGeneratedMetrics() throws Inte
335
335
PerfSession fakeSession = createTestSession (1 );
336
336
testGaugeManager .setApplicationProcessState (ApplicationProcessState .FOREGROUND );
337
337
testGaugeManager .startCollectingGauges (fakeSession );
338
- GaugeCounter .INSTANCE . setGaugeManager (testGaugeManager );
338
+ GaugeCounter .setGaugeManager (testGaugeManager );
339
339
340
340
// There's no job to log the gauges.
341
341
assertThat (fakeScheduledExecutorService .isEmpty ()).isTrue ();
@@ -377,7 +377,7 @@ public void testUpdateAppStateHandlesMultipleAppStates() {
377
377
fakeSession .setGaugeAndEventCollectionEnabled (true );
378
378
testGaugeManager .setApplicationProcessState (ApplicationProcessState .FOREGROUND );
379
379
testGaugeManager .startCollectingGauges (fakeSession );
380
- GaugeCounter .INSTANCE . setGaugeManager (testGaugeManager );
380
+ GaugeCounter .setGaugeManager (testGaugeManager );
381
381
382
382
// Generate metrics that don't exceed the GaugeCounter.MAX_COUNT.
383
383
generateMetricsAndIncrementCounter (10 );
You can’t perform that action at this time.
0 commit comments