From 3dbd7f8565e0aff9d295ceace6234903112bedab Mon Sep 17 00:00:00 2001 From: Nick Cooke <36927374+ncooke3@users.noreply.github.com> Date: Fri, 15 Aug 2025 10:14:32 -0400 Subject: [PATCH] Revert "[Infra] Attempt to reduce Crashlytics testing flake (#15183)" This reverts commit 7f3c935bcf1dd27c5ab06d5ae1257a9d4e28e9bb. --- Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m b/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m index 955e701d065..b89d05bbff8 100644 --- a/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m +++ b/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m @@ -41,9 +41,7 @@ - (BOOL)removeItemAtPath:(NSString *)path { // If we set up the expectation, and we went over the expected count or removes, fulfill the // expectation if (self.removeExpectation && self.removeCount >= self.expectedRemoveCount) { - dispatch_async(dispatch_get_main_queue(), ^{ - [self.removeExpectation fulfill]; - }); + [self.removeExpectation fulfill]; } return YES;