Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
[ios, macos] Increase snapshot test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Mar 27, 2020
1 parent 171ff94 commit 9dcbade
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/darwin/test/MGLMapSnapshotterTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ - (void)testOverlayHandler {
}
[completionExpectation fulfill];
}];
[self waitForExpectations:@[self.styleLoadingExpectation, overlayExpectation, completionExpectation] timeout:2 enforceOrder:YES];
[self waitForExpectations:@[self.styleLoadingExpectation, overlayExpectation, completionExpectation] timeout:5 enforceOrder:YES];
}

- (void)testDelegate {
Expand All @@ -138,7 +138,7 @@ - (void)testDelegate {
}
[completionExpectation fulfill];
}];
[self waitForExpectations:@[self.styleLoadingExpectation, completionExpectation] timeout:2 enforceOrder:YES];
[self waitForExpectations:@[self.styleLoadingExpectation, completionExpectation] timeout:5 enforceOrder:YES];
}

- (void)testRuntimeStyling {
Expand Down Expand Up @@ -192,7 +192,7 @@ - (void)testRuntimeStylingActions:(void (^)(MGLStyle *style))actions expectedIma
}
[completionExpectation fulfill];
}];
[self waitForExpectations:@[self.styleLoadingExpectation, overlayExpectation, completionExpectation] timeout:2 enforceOrder:YES];
[self waitForExpectations:@[self.styleLoadingExpectation, overlayExpectation, completionExpectation] timeout:5 enforceOrder:YES];
self.runtimeStylingActions = nil;
}

Expand Down

0 comments on commit 9dcbade

Please sign in to comment.