Reduce number of processes (#1832)

* Refactor code

* Edit tox

* Modify tox

* Modify tests

* Reduce processes

* Reduce processes
z3
Nikhil Parasaram 10 months ago committed by GitHub
parent 828b54f1b6
commit 80c8f13a3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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"))

Loading…
Cancel
Save