Skip to content

Commit 05958bb

Browse files
committed
Add upper bound on number of processes to run for CI runs as this can
help control flakiness. ``36`` workers (unbounded ``-n auto``) seems to be too much to account for tests that rely on the ``dev.period`` block processing time.
1 parent 923bc43 commit 05958bb

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tests/integration/go_ethereum/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def base_geth_command_arguments(geth_binary, datadir):
9595
datadir,
9696
"--dev",
9797
"--dev.period",
98-
"1",
98+
"3",
9999
"--password",
100100
os.path.join(datadir, "keystore", "pw.txt"),
101101
# in order to raise on underpriced transactions, ``txpool.nolocals`` is now

tox.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ usedevelop=True
2222
commands=
2323
core: pytest {posargs:tests/core -m "not asyncio"}
2424
core_async: pytest {posargs:tests/core -m asyncio}
25-
ens: pytest {posargs:tests/ens --ignore=tests/ens/normalization/test_normalize_name_ensip15.py -n auto}
26-
ensip15: pytest {posargs:tests/ens/normalization/test_normalize_name_ensip15.py -q -n auto}
27-
integration-goethereum-ipc: pytest {posargs:tests/integration/go_ethereum/test_goethereum_ipc.py -k "not Async" -n auto}
28-
integration-goethereum-ipc_async: pytest {posargs:tests/integration/go_ethereum/test_goethereum_ipc.py -k Async -n auto}
29-
integration-goethereum-http: pytest {posargs:tests/integration/go_ethereum/test_goethereum_http.py -k "not Async" -n auto}
30-
integration-goethereum-http_async: pytest {posargs:tests/integration/go_ethereum/test_goethereum_http.py -k Async -n auto}
31-
integration-goethereum-legacy_ws: pytest {posargs:tests/integration/go_ethereum/test_goethereum_legacy_ws.py -n auto}
32-
integration-goethereum-ws: pytest {posargs:tests/integration/go_ethereum/test_goethereum_ws -n auto}
33-
integration-ethtester: pytest {posargs:tests/integration/test_ethereum_tester.py -n auto}
25+
ens: pytest {posargs:tests/ens --ignore=tests/ens/normalization/test_normalize_name_ensip15.py -n auto --maxprocesses=15}
26+
ensip15: pytest {posargs:tests/ens/normalization/test_normalize_name_ensip15.py -q -n auto --maxprocesses=15}
27+
integration-goethereum-ipc: pytest {posargs:tests/integration/go_ethereum/test_goethereum_ipc.py -k "not Async" -n auto --maxprocesses=15}
28+
integration-goethereum-ipc_async: pytest {posargs:tests/integration/go_ethereum/test_goethereum_ipc.py -k Async -n auto --maxprocesses=15}
29+
integration-goethereum-http: pytest {posargs:tests/integration/go_ethereum/test_goethereum_http.py -k "not Async" -n auto --maxprocesses=15}
30+
integration-goethereum-http_async: pytest {posargs:tests/integration/go_ethereum/test_goethereum_http.py -k Async -n auto --maxprocesses=15}
31+
integration-goethereum-legacy_ws: pytest {posargs:tests/integration/go_ethereum/test_goethereum_legacy_ws.py -n auto --maxprocesses=15}
32+
integration-goethereum-ws: pytest {posargs:tests/integration/go_ethereum/test_goethereum_ws -n auto --maxprocesses=15}
33+
integration-ethtester: pytest {posargs:tests/integration/test_ethereum_tester.py -n auto --maxprocesses=15}
3434
docs: make check-docs-ci
3535
deps =
3636
.[test]

0 commit comments

Comments
 (0)