From 80c8f13a3b6ee442a40f4c295a8e3bc263f1dd85 Mon Sep 17 00:00:00 2001 From: Nikhil Parasaram Date: Fri, 2 Feb 2024 00:25:27 +0000 Subject: [PATCH] Reduce number of processes (#1832) * Refactor code * Edit tox * Modify tox * Modify tests * Reduce processes * Reduce processes --- tests/integration_tests/parallel_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration_tests/parallel_test.py b/tests/integration_tests/parallel_test.py index af2e9a50..c72cc4f3 100644 --- a/tests/integration_tests/parallel_test.py +++ b/tests/integration_tests/parallel_test.py @@ -9,7 +9,7 @@ def test_parallel(): test_file = str(TESTDATA / "input_contracts" / "origin.sol") program = f"python3 {MYTH} a {test_file} --solv 0.5.0 -o json" - processes = [Popen(program, stdout=PIPE, shell=True) for i in range(8)] + processes = [Popen(program, stdout=PIPE, shell=True) for i in range(4)] for p in processes: out, err = p.communicate() json_output = json.loads(out.decode("utf-8"))