diff options
author | Chris Loer <chris.loer@gmail.com> | 2018-10-17 12:17:50 -0700 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2018-10-17 13:14:44 -0700 |
commit | 8368bd4878ffe89bbdc96ba681efb2dc69fa24aa (patch) | |
tree | dbf596a933f722861dd92b3577b3329605e1e5d6 /platform/darwin | |
parent | 6086a6f0df49cd56fdaec642c1815405d8dea6fd (diff) | |
download | qtlocation-mapboxgl-8368bd4878ffe89bbdc96ba681efb2dc69fa24aa.tar.gz |
[tests, darwin] Standardize on 10 second timeout for map loading
5 second timeouts have been intermittently failing on CI.
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/test/MGLDocumentationExampleTests.swift | 2 | ||||
-rw-r--r-- | platform/darwin/test/MGLDocumentationGuideTests.swift | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/test/MGLDocumentationExampleTests.swift b/platform/darwin/test/MGLDocumentationExampleTests.swift index a8f92dd528..028ee2e856 100644 --- a/platform/darwin/test/MGLDocumentationExampleTests.swift +++ b/platform/darwin/test/MGLDocumentationExampleTests.swift @@ -34,7 +34,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate { mapView = MGLMapView(frame: CGRect(x: 0, y: 0, width: 256, height: 256), styleURL: MGLDocumentationExampleTests.styleURL) mapView.delegate = self styleLoadingExpectation = expectation(description: "Map view should finish loading style") - waitForExpectations(timeout: 5, handler: nil) + waitForExpectations(timeout: 10, handler: nil) } override func tearDown() { diff --git a/platform/darwin/test/MGLDocumentationGuideTests.swift b/platform/darwin/test/MGLDocumentationGuideTests.swift index b7f654aceb..b1e2bb843f 100644 --- a/platform/darwin/test/MGLDocumentationGuideTests.swift +++ b/platform/darwin/test/MGLDocumentationGuideTests.swift @@ -37,7 +37,7 @@ class MGLDocumentationGuideTests: XCTestCase, MGLMapViewDelegate { mapView = MGLMapView(frame: CGRect(x: 0, y: 0, width: 256, height: 256), styleURL: styleURL) mapView.delegate = self styleLoadingExpectation = expectation(description: "Map view should finish loading style") - waitForExpectations(timeout: 5, handler: nil) + waitForExpectations(timeout: 10, handler: nil) } override func tearDown() { |