Skip to content

Commit e604ac7

Browse files
authored
fix storage integration testapp for iOS (#170)
1 parent 1d066e2 commit e604ac7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

storage/integration_test/src/integration_test.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,11 @@ TEST_F(FirebaseStorageTest, TestLargeFilePauseResumeAndDownloadCancel) {
609609

610610
while(controller.bytes_transferred() == 0)
611611
{
612+
#if FIREBASE_PLATFORM_DESKTOP
612613
ProcessEvents(1);
614+
#else // FIREBASE_PLATFORM_MOBILE
615+
ProcessEvents(500);
616+
#endif
613617
}
614618

615619
// After waiting a moment for the operation to start (above), pause the

0 commit comments

Comments
 (0)