summaryrefslogtreecommitdiff
path: root/platform/ios/Integration Tests
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/Integration Tests')
-rw-r--r--platform/ios/Integration Tests/MBGLIntegrationTests.m4
-rw-r--r--platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m4
2 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/Integration Tests/MBGLIntegrationTests.m b/platform/ios/Integration Tests/MBGLIntegrationTests.m
index aeff0ba6f3..849b6e3dc5 100644
--- a/platform/ios/Integration Tests/MBGLIntegrationTests.m
+++ b/platform/ios/Integration Tests/MBGLIntegrationTests.m
@@ -8,7 +8,7 @@
#pragma mark - Tests
- (void)waitForMapViewToBeRendered {
- [self waitForMapViewToBeRenderedWithTimeout:1];
+ [self waitForMapViewToBeRenderedWithTimeout:5];
}
// This test does not strictly need to be in this test file/target. Including here for convenience.
@@ -186,7 +186,7 @@
XCTAssertNil(mapView2.style);
self.styleLoadingExpectation = [self expectationWithDescription:@"Map view should finish loading style."];
- [self waitForExpectationsWithTimeout:5 handler:nil];
+ [self waitForExpectationsWithTimeout:10 handler:nil];
MGLOpenGLStyleLayer *layer = [[MGLOpenGLStyleLayer alloc] initWithIdentifier:@"gl-layer"];
weakLayer = layer;
diff --git a/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m b/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m
index 015a58d2d2..0cb4461c37 100644
--- a/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m
+++ b/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m
@@ -37,7 +37,7 @@
XCTAssertThrowsSpecificNamed((layer.circleColor = interpExpression), NSException, NSInvalidArgumentException);
[self.mapView.style addLayer:layer];
- [self waitForMapViewToBeRenderedWithTimeout:1.0];
+ [self waitForMapViewToBeRenderedWithTimeout:5];
}
- (void)testForSteppingExpressionRenderCrashWithEmptyStops {
@@ -55,7 +55,7 @@
XCTAssertThrowsSpecificNamed((layer.circleColor = steppingExpression), NSException, NSInvalidArgumentException);
[self.mapView.style addLayer:layer];
- [self waitForMapViewToBeRenderedWithTimeout:1.0];
+ [self waitForMapViewToBeRenderedWithTimeout:5];
}
@end