diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-08-14 12:04:26 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-08-14 12:41:58 -0400 |
commit | 2c594da2148bf15bcb8e10fc9616bbacc70b61a3 (patch) | |
tree | 1f49132bc5baa25d665325c4ff3d73ba69da2154 /setup.py | |
parent | bb9d511e52ee5ab3621d8595328ee2400242461a (diff) | |
download | sqlalchemy-2c594da2148bf15bcb8e10fc9616bbacc70b61a3.tar.gz |
Isolate memory tests in forks
Swing the biggest hammer, run multiprocessing.Process() for
each memusage test individually so that they are fully isolated
from the parent process and any side effects of pytest-xdist
Also add --nomemory as a shortcut to exclude_tags=memory-intensive
and add this to the setup.py test runner as the memory tests
should not be running for quick runs
Change-Id: I3c16c781e21b33deb939a64e77a6e0e41fb86922
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ class PyTest(TestCommand): # not working at the time of this comment. user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")] - default_options = ["-n", "4", "-q"] + default_options = ["-n", "4", "-q", "--nomemory"] def initialize_options(self): TestCommand.initialize_options(self) |