Make the parallelize intergration test short enough to run at
[python_utils.git] / tests / parallelize_itest.py
index 6ac95380c5a9a132fb7c43172d1a30d0ce59e2ee..d09e9f39acb95db3f7a592d182aa046c6306ac20 100755 (executable)
@@ -3,9 +3,9 @@
 import sys
 
 import bootstrap
-import parallelize as p
 import decorator_utils
 import executors
+import parallelize as p
 import smart_future
 
 
@@ -60,7 +60,7 @@ def test_process_parallelization() -> None:
 @decorator_utils.timed
 def test_remote_parallelization() -> None:
     results = []
-    for _ in range(50):
+    for _ in range(10):
         results.append(compute_factorial_remote(_))
     for result in smart_future.wait_any(results):
         print(result)