File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
firebase-perf/src/test/java/com/google/firebase/perf/config Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -835,20 +835,20 @@ public void isLastFetchFailed_frcIsNonNullAndStatusOtherThanFailedOrThrottled_re
835835 }
836836
837837 @ Test
838- public void triggerRemoteConfigFetchIfNecessary_doesNotFetchBeforeAppStartRandomDelay () {
839- long appStartConfigFetchDelay = 5000 ;
838+ public void triggerRemoteConfigFetchIfNecessary_doesNotFetchBeforeRandomDelay () {
839+ long remoteConfigFetchDelay = 5000 ;
840840 RemoteConfigManager remoteConfigManagerPartialMock =
841841 spy (
842842 setupTestRemoteConfigManager (
843843 createFakeTaskThatDoesNothing (),
844844 true ,
845845 createDefaultRcConfigMap (),
846- appStartConfigFetchDelay ));
846+ remoteConfigFetchDelay ));
847847
848848 // Simulate time fast forward to some time before fetch time is up
849- long appStartTimeInMs = System .currentTimeMillis ();
849+ long approxRcmInitTimestampMs = System .currentTimeMillis ();
850850 when (remoteConfigManagerPartialMock .getCurrentSystemTimeMillis ())
851- .thenReturn (appStartTimeInMs + appStartConfigFetchDelay - 2000 );
851+ .thenReturn (approxRcmInitTimestampMs + remoteConfigFetchDelay - 2000 );
852852
853853 simulateFirebaseRemoteConfigLastFetchStatus (
854854 FirebaseRemoteConfig .LAST_FETCH_STATUS_NO_FETCH_YET );
You can’t perform that action at this time.
0 commit comments