diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7648da177..e6cda73ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,7 @@ jobs: run: pip install -e . -r requirements.txt - name: pytest - run: pytest --cov=pymodbus --cov=test --cov-report=term-missing --cov-report=xml -v --full-trace --timeout=20 + run: pytest -n0 --cov=pymodbus --cov=test --cov-report=term-missing --cov-report=xml -v --full-trace --timeout=20 analyze: name: Analyze Python diff --git a/examples/simulator.py b/examples/simulator.py index 9cd169806..820eaa415 100755 --- a/examples/simulator.py +++ b/examples/simulator.py @@ -42,7 +42,7 @@ async def run_calls(client, count): """Run client calls.""" _logger.info("### Read fixed/increment/random value of different types.") _logger.info("--> UINT16") - for count in range(1, 100): + for count in range(1, 5): await read_registers(client, 1148, 1, True, curval=32117) await read_registers(client, 2305, 1, True, curval=50 + count) await read_registers(client, 2306, 1, True, minval=45, maxval=55) @@ -62,8 +62,6 @@ async def run_simulator(): """Run server.""" _logger.info("### start server simulator") cmdline = [ - "--log", - "debug", "--modbus_device", "device_try", ]