Skip to content

Commit 5fccb61

Browse files
authored
RemoteConfigComponentTest.java: fix flaky test (#6291)
1 parent da0eefa commit 5fccb61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-config/src/test/java/com/google/firebase/remoteconfig/RemoteConfigComponentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public void registerRolloutsStateSubscriber_firebaseNamespace_callsSubscriptionH
185185
when(mockMetadataClient.getRealtimeBackoffMetadata())
186186
.thenReturn(new ConfigMetadataClient.RealtimeBackoffMetadata(0, new Date()));
187187

188-
RemoteConfigComponent frcComponent = getNewFrcComponent();
188+
RemoteConfigComponent frcComponent = getNewFrcComponentWithoutLoadingDefault();
189189
FirebaseRemoteConfig instance = getFrcInstanceFromComponent(frcComponent, DEFAULT_NAMESPACE);
190190

191191
frcComponent.registerRolloutsStateSubscriber(DEFAULT_NAMESPACE, mockRolloutsStateSubscriber);

0 commit comments

Comments
 (0)