Roman Podymov hace 3 años
padre
commit
f832f0afd6

+ 1 - 1
Tests/KingfisherTests/ImageViewExtensionTests.swift

@@ -696,7 +696,7 @@ class ImageViewExtensionTests: XCTestCase {
         }
         
         group.notify(queue: .main) { exp.fulfill() }
-        waitForExpectations(timeout: 5, handler: nil)
+        waitForExpectations(timeout: 3, handler: nil)
     }
     
     func testMemoryImageCacheExtendingExpirationTask() {

+ 1 - 1
Tests/KingfisherTests/KingfisherManagerTests.swift

@@ -861,7 +861,7 @@ class KingfisherManagerTests: XCTestCase {
         }
         task?.cancel()
 
-        waitForExpectations(timeout: 3, handler: nil)
+        waitForExpectations(timeout: 1, handler: nil)
     }
 
     func testRetrievingAlternativeSourceCanCancelUpdatedTask() {