                 completionExpectation.fulfill()
             })
 
-            waitForExpectationsWithTimeout(1, handler: nil)
+            waitForExpectationsWithTimeout(10, handler: nil)
 
             verifyLayoutTwo(view: view)
 

                completionExpectation.fulfill()
            })

            waitForExpectationsWithTimeout(1, handler: nil)

            verifyLayoutOne(view: view)


            completionExpectation.fulfill()
        })

        waitForExpectationsWithTimeout(10, handler: nil)

        // Verify that only the last asynchronous layout happened.
        verifyLayoutTwo(view: view)
