Add 'rm -f .testrepository/times.dbm' command in testenv

Running py2* post py3* tests results in error. Add
'rm -f .testrepository/times.dbm' command in testenv to
resolve this.

Change-Id: I489f0bf6d0946217dc4c8e717f82054ae70d0c14
This commit is contained in:
rajat29 2017-04-25 09:36:18 +05:30
parent 93ec23131c
commit c9980d7ade
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
commands =
find . -type f -name "*.py[c|o]" -delete
rm -f .testrepository/times.dbm
ostestr --slowest {posargs}
whitelist_externals = bash
@ -42,6 +43,7 @@ setenv = VIRTUAL_ENV={envdir}
# call ie: 'tox -efunctional -- --concurrency=4'
commands =
find . -type f -name "*.py[c|o]" -delete
rm -f .testrepository/times.dbm
ostestr --slowest {posargs}
[testenv:debug]