File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
firebase-perf/src/test/java/com/google/firebase/perf/config Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2828import com .google .common .util .concurrent .MoreExecutors ;
2929import com .google .firebase .inject .Provider ;
3030import com .google .firebase .perf .FirebasePerformanceTestBase ;
31- import com .google .firebase .provider .FirebaseInitProvider ;
3231import com .google .firebase .remoteconfig .FirebaseRemoteConfig ;
3332import com .google .firebase .remoteconfig .FirebaseRemoteConfigInfo ;
3433import com .google .firebase .remoteconfig .FirebaseRemoteConfigSettings ;
@@ -847,7 +846,7 @@ public void triggerRemoteConfigFetchIfNecessary_doesNotFetchBeforeAppStartRandom
847846 appStartConfigFetchDelay ));
848847
849848 // Simulate time fast forward to some time before fetch time is up
850- long appStartTimeInMs = FirebaseInitProvider . getStartupTime (). getEpochMillis ();
849+ long appStartTimeInMs = System . currentTimeMillis ();
851850 when (remoteConfigManagerPartialMock .getCurrentSystemTimeMillis ())
852851 .thenReturn (appStartTimeInMs + appStartConfigFetchDelay - 2000 );
853852
You can’t perform that action at this time.
0 commit comments