diff options
author | Jason Wray <jason@mapbox.com> | 2018-09-26 13:19:27 -0700 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2018-09-26 14:12:57 -0700 |
commit | 1ce31af2899e8e8526e968f908b75ec949d8ffeb (patch) | |
tree | 8455b811c7a9a302e82c87fc727ae43e0e1c6400 /platform/darwin | |
parent | 20b33ad5daf5ffe546e01139c320715e3ae8b6dd (diff) | |
download | qtlocation-mapboxgl-1ce31af2899e8e8526e968f908b75ec949d8ffeb.tar.gz |
[ios] Bump more test timeouts for Xcode 10 sluggishness
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/test/MGLOfflineStorageTests.mm | 5 | ||||
-rw-r--r-- | platform/darwin/test/MGLStyleTests.mm | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/platform/darwin/test/MGLOfflineStorageTests.mm b/platform/darwin/test/MGLOfflineStorageTests.mm index ad6e1a0570..4cdb87946e 100644 --- a/platform/darwin/test/MGLOfflineStorageTests.mm +++ b/platform/darwin/test/MGLOfflineStorageTests.mm @@ -43,7 +43,7 @@ [expectation fulfill]; [self waitForExpectationsWithTimeout:0 handler:nil]; } else { - [self waitForExpectationsWithTimeout:5 handler:nil]; + [self waitForExpectationsWithTimeout:10 handler:nil]; } XCTAssertNotNil([MGLOfflineStorage sharedOfflineStorage].packs, @"Shared offline storage object should have a non-nil collection of packs by this point."); @@ -283,8 +283,7 @@ } - (void)testAddFileContent { - - + // Valid database { NSURL *resourceURL = [NSURL fileURLWithPath:[[NSBundle bundleForClass:[self class]] pathForResource:@"barcelona" ofType:@"db"]]; diff --git a/platform/darwin/test/MGLStyleTests.mm b/platform/darwin/test/MGLStyleTests.mm index ccab5961c9..d317292096 100644 --- a/platform/darwin/test/MGLStyleTests.mm +++ b/platform/darwin/test/MGLStyleTests.mm @@ -33,7 +33,7 @@ self.mapView.delegate = self; if (!self.mapView.style) { _styleLoadingExpectation = [self expectationWithDescription:@"Map view should finish loading style."]; - [self waitForExpectationsWithTimeout:5 handler:nil]; + [self waitForExpectationsWithTimeout:10 handler:nil]; } } |