If you run the py27 tox tests then attempt to run the py34 tests,
the following error will occur:
py34 runtests: commands[0] | ostestr --blacklist_file=blacklist-py3.txt
db type could not be determined running=${PYTHON:-python} -m subunit.run discover ./trove/tests/unittests --list
The test run didn't actually run any tests
This happens because the apparently the times.dbm file generated
by py27 is not compatible with py34. The converse is not true though -
if you run py34 first, py27 will work.
The work-around is to delete the file, which is what is now done
before running every tox test. Once the bug has been fixed, the
work-around can be removed.
This was originally noticed in python-troveclient, however it
also manifests in the Trove project.
coverage.xml was also added to the .gitignore file as it
was appearing in the git list of modified files.
Reviewed: https:/ /review. openstack. org/343827 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=dda9aa730ba e0974e52f0f2cea 3da352b02199fc
Committed: https:/
Submitter: Jenkins
Branch: master
commit dda9aa730bae097 4e52f0f2cea3da3 52b02199fc
Author: Peter Stachowski <email address hidden>
Date: Mon Jul 18 17:27:36 2016 +0000
Remove times.dbm file for each tox run
If you run the py27 tox tests then attempt to run the py34 tests,
the following error will occur:
py34 runtests: commands[0] | ostestr
--blacklist_ file=blacklist- py3.txt
running= ${PYTHON: -python} -m subunit.run discover
./trove/ tests/unittests --list
db type could not be determined
The test run didn't actually run any tests
This happens because the apparently the times.dbm file generated
by py27 is not compatible with py34. The converse is not true though -
if you run py34 first, py27 will work.
The work-around is to delete the file, which is what is now done
before running every tox test. Once the bug has been fixed, the
work-around can be removed.
This was originally noticed in python-troveclient, however it
also manifests in the Trove project.
coverage.xml was also added to the .gitignore file as it
was appearing in the git list of modified files.
Change-Id: I312b3879c764b7 b803d35e0bb62f0 f47291f6693
Closes-Bug: #1565928