summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index ef91f4485..7d5826a4b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -40,8 +40,10 @@ whitelist_externals=sh
setenv=
PYTHONPATH=
PYTHONNOUSERSITE=1
- BASECOMMAND=python -m pytest -n4 --dropfirst
+ BASECOMMAND=python -m pytest --dropfirst
+ WORKERS=-n4
+ oracle: WORKERS=-n2
nocext: DISABLE_SQLALCHEMY_CEXT=1
cov: COVERAGE={[testenv]cov_args}
sqlite: SQLITE=--db sqlite
@@ -59,7 +61,7 @@ passenv=ORACLE_HOME NLS_LANG
# for nocext, we rm *.so in lib in case we are doing usedevelop=True
commands=
{nocext}: sh -c "rm -f lib/sqlalchemy/*.so"
- {env:BASECOMMAND} {env:SQLITE:} {env:POSTGRESQL:} {env:MYSQL:} {env:ORACLE:} {env:MSSQL:} {env:BACKENDONLY:} {env:COVERAGE:} {posargs}
+ {env:BASECOMMAND} {env:WORKERS} {env:SQLITE:} {env:POSTGRESQL:} {env:MYSQL:} {env:ORACLE:} {env:MSSQL:} {env:BACKENDONLY:} {env:COVERAGE:} {posargs}
{oracle}: python reap_oracle_dbs.py