Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
21a6187b
Commit
21a6187b
authored
May 08, 2019
by
Jason Madden
Committed by
GitHub
May 08, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #264 from zopefoundation/issue263
isAlive -> is_alive. Fixes #263
parents
5321ae13
b5ba0250
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
24 deletions
+21
-24
.travis.yml
.travis.yml
+10
-19
buildout.cfg
buildout.cfg
+7
-1
src/ZODB/tests/MTStorage.py
src/ZODB/tests/MTStorage.py
+1
-1
src/ZODB/tests/PackableStorage.py
src/ZODB/tests/PackableStorage.py
+2
-2
src/ZODB/tests/testCache.py
src/ZODB/tests/testCache.py
+1
-1
No files found.
.travis.yml
View file @
21a6187b
language
:
python
sudo
:
false
matrix
:
include
:
-
os
:
linux
python
:
pypy
-
os
:
linux
python
:
pypy3
env
:
BUILOUT_OPTIONS=sphinx:eggs=
-
os
:
linux
python
:
2.7
-
os
:
linux
python
:
3.4
-
os
:
linux
python
:
3.5
-
os
:
linux
python
:
3.6
-
python
:
3.7
dist
:
xenial
sudo
:
true
dist
:
xenial
python
:
-
2.7
-
3.4
-
3.5
-
3.6
-
3.7
-
pypy
-
pypy3
install
:
-
pip install -U pip
-
pip install -U setuptools zc.buildout
...
...
buildout.cfg
View file @
21a6187b
...
...
@@ -49,10 +49,16 @@ eggs =
${coverage-test:eggs}
interpreter = py
[sphinx_egg]
eggs = Sphinx
[sphinx_egg:python2 or python34]
eggs = Sphinx < 2
[sphinx]
recipe = zc.recipe.egg
eggs =
Sphinx
${sphinx_egg:eggs}
docutils
ZODB
j1m.sphinxautointerface
...
...
src/ZODB/tests/MTStorage.py
View file @
21a6187b
...
...
@@ -221,7 +221,7 @@ class MTStorage(object):
for
t
in
threads
:
t
.
join
(
60
)
for
t
in
threads
:
self
.
assertFalse
(
t
.
is
A
live
(),
self
.
assertFalse
(
t
.
is
_a
live
(),
"thread failed to finish in 60 seconds"
)
def
check2ZODBThreads
(
self
):
...
...
src/ZODB/tests/PackableStorage.py
View file @
21a6187b
...
...
@@ -227,7 +227,7 @@ class PackableStorage(PackableStorageBase):
for
t
in
threads
:
t
.
join
(
60
)
liveness
=
[
t
.
is
A
live
()
for
t
in
threads
]
liveness
=
[
t
.
is
_a
live
()
for
t
in
threads
]
if
True
in
liveness
:
# They should have finished by now.
print
(
'Liveness:'
,
liveness
)
...
...
@@ -312,7 +312,7 @@ class PackableStorage(PackableStorageBase):
timer
=
ElapsedTimer
(
time
.
time
())
thread
=
ClientThread
(
db
,
choices
,
NUM_LOOP_TRIP
,
timer
,
0
)
thread
.
start
()
while
thread
.
is
A
live
():
while
thread
.
is
_a
live
():
db
.
pack
(
packt
)
snooze
()
packt
=
time
.
time
()
...
...
src/ZODB/tests/testCache.py
View file @
21a6187b
...
...
@@ -177,7 +177,7 @@ class DBMethods(CacheTestBase):
w
=
Worker
(
self
)
w
.
start
()
w
.
join
(
30
)
if
w
.
is
A
live
():
if
w
.
is
_a
live
():
self
.
fail
(
"cacheMinimize still running after 30 seconds -- "
"almost certainly in an infinite loop"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment