Skip to content

Commit 76f37bb

Browse files
committed
Rename
1 parent ebc4feb commit 76f37bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

firebase-perf/src/test/java/com/google/firebase/perf/config/RemoteConfigManagerTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)