summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-02-13 19:11:22 -0500
committerJason Wray <jason@mapbox.com>2018-02-15 12:20:41 -0500
commit47d96dddc438a0cc6716f3428b5a09b55b6ab133 (patch)
tree6bb398028a42500cd474726b00978c3d6cea3510
parent2c69b9985943133715a25ec771a3a83979eabeb8 (diff)
downloadqtlocation-mapboxgl-47d96dddc438a0cc6716f3428b5a09b55b6ab133.tar.gz
[ios] Bump testMGLMapSnapshotter timeout to 5s
Timing based tests are inherently flakey and prone to failure on slow CI: > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone X' (3.375 seconds) > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 8' (3.413 seconds) > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 7' (2.944 seconds)
-rw-r--r--platform/darwin/test/MGLDocumentationExampleTests.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLDocumentationExampleTests.swift b/platform/darwin/test/MGLDocumentationExampleTests.swift
index 5a6e00bc4e..a216d9ad1c 100644
--- a/platform/darwin/test/MGLDocumentationExampleTests.swift
+++ b/platform/darwin/test/MGLDocumentationExampleTests.swift
@@ -391,7 +391,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate {
}
//#-end-example-code
- wait(for: [expectation], timeout: 1)
+ wait(for: [expectation], timeout: 5)
}
// For testMGLMapView().