summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/parallelize_itest.py4
-rwxr-xr-xtests/run_tests.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/parallelize_itest.py b/tests/parallelize_itest.py
index 6ac9538..d09e9f3 100755
--- a/tests/parallelize_itest.py
+++ b/tests/parallelize_itest.py
@@ -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)
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 016ac44..6255a69 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -143,8 +143,8 @@ fi
if [ ${INTEGRATION} -eq 1 ]; then
for test in $(find ${ROOT} -name "*_itest.py" -print); do
BASE=$(basename ${test})
- BASE="${BASE} (integration test)"
- make_header "${BASE}" "${ORANGE}"
+ HDR="${BASE} (integration test)"
+ make_header "${HDR}" "${ORANGE}"
if [ ${COVERAGE} -eq 1 ]; then
coverage run --source ${HOME}/lib --append ${test}
else