Commit c77bbc35 authored by Jens Vagelpohl's avatar Jens Vagelpohl

- Add automated tests against the ZODB ``master`` branch

parent 10778e12
...@@ -25,6 +25,7 @@ jobs: ...@@ -25,6 +25,7 @@ jobs:
- ["3.7", "py37-mtacceptor"] - ["3.7", "py37-mtacceptor"]
- ["3.7", "py37-mtacceptor-msgpack1"] - ["3.7", "py37-mtacceptor-msgpack1"]
- ["3.7", "py37-uvloop"] - ["3.7", "py37-uvloop"]
- ["3.7", "py37-zodb-master"]
- ["pypy2", "pypy"] - ["pypy2", "pypy"]
- ["pypy3", "pypy3"] - ["pypy3", "pypy3"]
- ["pypy3", "pypy3-mtacceptor"] - ["pypy3", "pypy3-mtacceptor"]
......
...@@ -3,8 +3,10 @@ ...@@ -3,8 +3,10 @@
__pycache__ __pycache__
*.egg-info *.egg-info
.installed.cfg .installed.cfg
.mr.developer.cfg
.tox .tox
bin bin
develop
develop-eggs develop-eggs
dist dist
eggs eggs
......
...@@ -4,6 +4,9 @@ Changelog ...@@ -4,6 +4,9 @@ Changelog
5.2.3 (unreleased) 5.2.3 (unreleased)
------------------ ------------------
- Add automated tests against the ZODB ``master`` branch
see `issue 177 <https://github.com/zopefoundation/ZEO/issues/177>`_.
- Fix data corruption due to race between load and external invalidations. - Fix data corruption due to race between load and external invalidations.
See `issue 155 <https://github.com/zopefoundation/ZEO/issues/155>`_. See `issue 155 <https://github.com/zopefoundation/ZEO/issues/155>`_.
......
...@@ -31,34 +31,26 @@ deps = ...@@ -31,34 +31,26 @@ deps =
msgpack < 1 msgpack < 1
# ZopeUndo is needed as soft-dependency for a regression test # ZopeUndo is needed as soft-dependency for a regression test
ZopeUndo ZopeUndo
setenv =
!py27: PYTHONWARNINGS=ignore::ResourceWarning
[testenv:py27-msgpack1] [testenv:py27-msgpack1]
setenv = setenv =
ZEO_MSGPACK=1 ZEO_MSGPACK=1
[testenv:py27-zeo4] [testenv:py{27,35}-zeo4]
setenv =
ZEO4_SERVER=1
[testenv:py35-zeo4]
setenv = setenv =
!py27: PYTHONWARNINGS=ignore::ResourceWarning
ZEO4_SERVER=1 ZEO4_SERVER=1
[testenv:py36-mtacceptor] [testenv:py{36,37,py3}-mtacceptor]
setenv =
ZEO_MTACCEPTOR=1
[testenv:py36-mtacceptor-msgpack1]
setenv =
ZEO_MTACCEPTOR=1
ZEO_MSGPACK=1
[testenv:py37-mtacceptor]
setenv = setenv =
PYTHONWARNINGS=ignore::ResourceWarning
ZEO_MTACCEPTOR=1 ZEO_MTACCEPTOR=1
[testenv:py37-mtacceptor-msgpack1] [testenv:py{36,37,py3}-mtacceptor-msgpack1]
setenv = setenv =
PYTHONWARNINGS=ignore::ResourceWarning
ZEO_MTACCEPTOR=1 ZEO_MTACCEPTOR=1
ZEO_MSGPACK=1 ZEO_MSGPACK=1
...@@ -67,14 +59,18 @@ deps = ...@@ -67,14 +59,18 @@ deps =
{[testenv]deps} {[testenv]deps}
uvloop uvloop
[testenv:pypy3-mtacceptor] [testenv:py37-zodb-master]
setenv = deps =
ZEO_MTACCEPTOR=1 setuptools < 52
zc.buildout
[testenv:pypy3-mtacceptor-msgpack1] zope.testrunner
setenv = zope.testing
ZEO_MTACCEPTOR=1 mock
ZEO_MSGPACK=1 random2
msgpack < 1
commands =
{envbindir}/buildout -c {toxinidir}/zodb-master.cfg buildout:directory={envdir} buildout:develop={toxinidir}
{envbindir}/test {posargs}
[testenv:simple] [testenv:simple]
# Test that 'setup.py test' works # Test that 'setup.py test' works
......
# This buildout configuration creates test scripts and interpreters that
# pull in the ZODB master branch instead of the latest release.
[buildout]
extends =
buildout.cfg
https://raw.githubusercontent.com/zopefoundation/Zope/master/sources.cfg
extensions = mr.developer
sources-dir = develop
auto-checkout =
ZODB
[versions]
ZODB =
[test]
eggs =
ZEO
# ZopeUndo is needed as soft-dependency for a regression test
ZopeUndo
defaults = ['-cv', '-s', 'ZEO', '--all']
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment