                 })
             
             semaphore.signal()
-            waitForExpectations(timeout: 1, handler: nil)
+            waitForExpectations(timeout: 5, handler: nil)
             cancellable.cancel()
         }
         

                    expectation.fulfill()
                })
            
            waitForExpectations(timeout: 1, handler: nil)
            cancellable.cancel()
        }
        

                    expectation.fulfill()
                })
            
            waitForExpectations(timeout: 5, handler: nil)
            cancellable.cancel()
        }
        
