[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)
This commit is contained in:
Jason Wray
2018-02-13 19:11:22 -05:00
committed by Jason Wray
parent 7e51e52f0c
commit b981713f3a

View File

@@ -391,7 +391,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate {
}
//#-end-example-code
wait(for: [expectation], timeout: 1)
wait(for: [expectation], timeout: 5)
}
// For testMGLMapView().