[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:
@@ -391,7 +391,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate {
|
||||
}
|
||||
//#-end-example-code
|
||||
|
||||
wait(for: [expectation], timeout: 1)
|
||||
wait(for: [expectation], timeout: 5)
|
||||
}
|
||||
|
||||
// For testMGLMapView().
|
||||
|
||||
Reference in New Issue
Block a user