diff options
author | Jason Wray <jason@mapbox.com> | 2018-09-18 13:55:23 -0700 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2018-09-20 14:57:07 -0700 |
commit | 737ebed7d5997872e8c1419cc6bfbb10ae6242d2 (patch) | |
tree | fba922ee2860d08b24d732366db45773f8d37dce /platform/ios/test | |
parent | 0a1b38e7f898ce46bed581e4cb4af36bcb2b3b02 (diff) | |
download | qtlocation-mapboxgl-737ebed7d5997872e8c1419cc6bfbb10ae6242d2.tar.gz |
[ios, tests] Bump most waitForExpectationsWithTimeout's to 5s
[skip firebase]
Bump MGLOfflineStorageTests timeouts to 5 seconds
Diffstat (limited to 'platform/ios/test')
-rw-r--r-- | platform/ios/test/MGLAnnotationViewTests.m | 2 | ||||
-rw-r--r-- | platform/ios/test/MGLMapViewLayoutTests.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/test/MGLAnnotationViewTests.m b/platform/ios/test/MGLAnnotationViewTests.m index 7bf7c90a33..6c3cd6ea4a 100644 --- a/platform/ios/test/MGLAnnotationViewTests.m +++ b/platform/ios/test/MGLAnnotationViewTests.m @@ -85,7 +85,7 @@ static NSString * const MGLTestAnnotationReuseIdentifer = @"MGLTestAnnotationReu MGLTestAnnotation *annotation = [[MGLTestAnnotation alloc] init]; [_mapView addAnnotation:annotation]; - [self waitForExpectationsWithTimeout:1 handler:nil]; + [self waitForExpectationsWithTimeout:5 handler:nil]; XCTAssert(_mapView.annotations.count == 1, @"number of annotations should be 1"); XCTAssertNotNil(_annotationView.annotation, @"annotation property should not be nil"); diff --git a/platform/ios/test/MGLMapViewLayoutTests.m b/platform/ios/test/MGLMapViewLayoutTests.m index 16f6cdada3..4bdff51e25 100644 --- a/platform/ios/test/MGLMapViewLayoutTests.m +++ b/platform/ios/test/MGLMapViewLayoutTests.m @@ -35,7 +35,7 @@ [self.superView addConstraints:[verticalConstraints arrayByAddingObjectsFromArray:horizonatalConstraints]]; self.styleLoadingExpectation = [self expectationWithDescription:@"Map view should finish loading style."]; - [self waitForExpectationsWithTimeout:1 handler:nil]; + [self waitForExpectationsWithTimeout:5 handler:nil]; self.mapView.showsScale = YES; |