Fix the test case to use a longer timeout

This commit is contained in:
DreamPiggy 2020-11-20 18:49:20 +08:00
parent 7a61a3339e
commit 6453c6a2a2
1 changed files with 3 additions and 8 deletions

View File

@ -657,8 +657,7 @@ static BOOL _isCalled;
[player startPlaying];
[self waitForExpectationsWithCommonTimeout];
[self waitForExpectationsWithTimeout:15 handler:nil];
}
- (void)test34AnimatedImagePlaybackModeBounce {
@ -711,9 +710,7 @@ static BOOL _isCalled;
[player startPlaying];
[self waitForExpectationsWithTimeout:14 handler:^(NSError * _Nullable error) {
expect(error).to.beNil();
}];
[self waitForExpectationsWithTimeout:15 handler:nil];
}
- (void)test35AnimatedImagePlaybackModeReversedBounce{
@ -765,9 +762,7 @@ static BOOL _isCalled;
}];
[player startPlaying];
[self waitForExpectationsWithTimeout:14 handler:^(NSError * _Nullable error) {
expect(error).to.beNil();
}];
[self waitForExpectationsWithTimeout:15 handler:nil];
}
#pragma mark - Helper