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
fbf46870
Commit
fbf46870
authored
Nov 19, 2008
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the pid cleanup code. The subprocess module does this for us.
parent
9103ec20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
src/ZEO/tests/ConnectionTests.py
src/ZEO/tests/ConnectionTests.py
+0
-6
No files found.
src/ZEO/tests/ConnectionTests.py
View file @
fbf46870
...
...
@@ -104,7 +104,6 @@ class CommonSetupTearDown(StorageTestBase):
logging
.
info
(
"setUp() %s"
,
self
.
id
())
self
.
file
=
'storage_conf'
self
.
addr
=
[]
self
.
_pids
=
[]
self
.
_servers
=
[]
self
.
conf_paths
=
[]
self
.
caches
=
[]
...
...
@@ -133,10 +132,6 @@ class CommonSetupTearDown(StorageTestBase):
for
adminaddr
in
self
.
_servers
:
if
adminaddr
is
not
None
:
forker
.
shutdown_zeo_server
(
adminaddr
)
if
hasattr
(
os
,
'waitpid'
):
# Not in Windows Python until 2.3
for
pid
in
self
.
_pids
:
os
.
waitpid
(
pid
,
0
)
for
c
in
self
.
caches
:
for
i
in
0
,
1
:
for
ext
in
""
,
".trace"
,
".lock"
:
...
...
@@ -219,7 +214,6 @@ class CommonSetupTearDown(StorageTestBase):
zeoport
,
adminaddr
,
pid
,
path
=
forker
.
start_zeo_server
(
sconf
,
zconf
,
addr
[
1
],
keep
)
self
.
conf_paths
.
append
(
path
)
self
.
_pids
.
append
(
pid
)
self
.
_servers
.
append
(
adminaddr
)
def
shutdownServer
(
self
,
index
=
0
):
...
...
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