diff options
author | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2016-09-20 22:08:22 +0200 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-21 16:13:35 -0700 |
commit | c00b129e8071b8a3d3952e4c191a8b55b71607bc (patch) | |
tree | fb335543d3caed8115e9f411628fb741ed50e41d | |
parent | 2c8e030550024380753a4ebb758e18f1db16edbe (diff) | |
download | qtlocation-mapboxgl-c00b129e8071b8a3d3952e4c191a8b55b71607bc.tar.gz |
[ios, macos] increase timeout to 2 seconds
-rw-r--r-- | platform/darwin/test/MGLOfflineStorageTests.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/test/MGLOfflineStorageTests.m b/platform/darwin/test/MGLOfflineStorageTests.m index c2a8e152d1..8400cb43cb 100644 --- a/platform/darwin/test/MGLOfflineStorageTests.m +++ b/platform/darwin/test/MGLOfflineStorageTests.m @@ -20,7 +20,7 @@ if ([MGLOfflineStorage sharedOfflineStorage].packs) { [expectation fulfill]; } else { - [self waitForExpectationsWithTimeout:1 handler:nil]; + [self waitForExpectationsWithTimeout:2 handler:nil]; } XCTAssertNotNil([MGLOfflineStorage sharedOfflineStorage].packs, @"Shared offline storage object should have a non-nil collection of packs by this point."); @@ -63,7 +63,7 @@ pack = completionHandlerPack; [additionCompletionHandlerExpectation fulfill]; }]; - [self waitForExpectationsWithTimeout:1 handler:nil]; + [self waitForExpectationsWithTimeout:2 handler:nil]; XCTAssertEqual([MGLOfflineStorage sharedOfflineStorage].packs.count, countOfPacks + 1, @"Added pack should have been added to the canonical collection of packs owned by the shared offline storage object. This assertion can fail if this test is run before -testAAALoadPacks."); |