Skip to content

Commit db32311

Browse files
committed
wrap unresolved flake in ifdef
1 parent d86bcf9 commit db32311

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Crashlytics/UnitTests/FIRCLSSettingsTests.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ - (void)testGoogleAppIDChanged {
326326
XCTAssertEqual(self.settings.errorLogBufferSize, 64 * 1000);
327327
}
328328

329+
#ifdef FLAKY_TEST
329330
// This is a weird case where we got settings, but never created a cache key for it. We are
330331
// treating this as if the cache was invalid and re-fetching in this case.
331332
- (void)testActivatedSettingsMissingCacheKey {
@@ -357,6 +358,7 @@ - (void)testActivatedSettingsMissingCacheKey {
357358
XCTAssertEqual(self.settings.onDemandBackoffBase, 1.5);
358359
XCTAssertEqual(self.settings.onDemandBackoffStepDuration, 6);
359360
}
361+
#endif // FLAKY_TEST
360362

361363
// These tests are partially to make sure the SDK doesn't crash when it
362364
// has corrupted settings.

0 commit comments

Comments
 (0)