Ver código fonte

Bumped up the cache test wait time for priming the cache to help stabilize CI.

Christian Noon 9 anos atrás
pai
commit
34a6337b66
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Tests/CacheTests.swift

+ 1 - 1
Tests/CacheTests.swift

@@ -147,7 +147,7 @@ class CacheTestCase: BaseTestCase {
         }
         }
 
 
         // Wait for all requests to complete
         // Wait for all requests to complete
-        dispatch_group_wait(dispatchGroup, dispatch_time(DISPATCH_TIME_NOW, Int64(10.0 * Float(NSEC_PER_SEC))))
+        dispatch_group_wait(dispatchGroup, dispatch_time(DISPATCH_TIME_NOW, Int64(30.0 * Float(NSEC_PER_SEC))))
 
 
         // Pause for 2 additional seconds to ensure all timestamps will be different
         // Pause for 2 additional seconds to ensure all timestamps will be different
         dispatch_group_enter(dispatchGroup)
         dispatch_group_enter(dispatchGroup)