summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-04-24 14:44:04 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2016-04-24 14:44:04 -0400
commitffb6fbf825d0440aeedf7ee69376d78d977c26fb (patch)
tree2c9f19d777fdc51f8733796fe7741f2923bcfdae
parent1f3e5d9826fe989f2212745f6b3592b2ef9b5e32 (diff)
downloadsqlalchemy-ffb6fbf825d0440aeedf7ee69376d78d977c26fb.tar.gz
- don't use --dropfirst when we are using ad-hoc DBs. dropfirst
is unnecessary and causes collisions against other CI runs Change-Id: I47e9bc98cd6ef4ab90be25bae45897dabae16308
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7d5826a4b..d5c3b670b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,10 +37,13 @@ whitelist_externals=sh
# BASECOMMAND - using an env variable here so we can use it
# as a substitution in a command (see https://bitbucket.org/hpk42/tox/issues/307/)
#
+# only use --dropfirst option if we're *not* using -n;
+# if -n is used, we're working in brand new DBs anyway, dropfirst
+# will collide on CI environments
setenv=
PYTHONPATH=
PYTHONNOUSERSITE=1
- BASECOMMAND=python -m pytest --dropfirst
+ BASECOMMAND=python -m pytest
WORKERS=-n4
oracle: WORKERS=-n2