瀏覽代碼

Revert "Add high qos for delayed blocks in tests to avoid latency on CI"

This reverts commit f7b951086adc8144d196d09d56828d47cfeb9e96.
Dominique Stranz 6 年之前
父節點
當前提交
3507de9732
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tests/KingfisherTests/KingfisherTestHelper.swift

+ 1 - 1
Tests/KingfisherTests/KingfisherTestHelper.swift

@@ -100,7 +100,7 @@ func clearCaches(_ caches: [ImageCache]) {
 }
 }
 
 
 func delay(_ time: Double, block: @escaping ()->()) {
 func delay(_ time: Double, block: @escaping ()->()) {
-    DispatchQueue.main.asyncAfter(deadline: .now() + time, qos: .userInteractive) { block() }
+    DispatchQueue.main.asyncAfter(deadline: .now() + time) { block() }
 }
 }
 
 
 extension Image {
 extension Image {