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
a1f2ca82
Commit
a1f2ca82
authored
Jun 16, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be more thorough about deleting ZEC files.
parent
b05ad8e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/ZEO/tests/ConnectionTests.py
src/ZEO/tests/ConnectionTests.py
+6
-6
No files found.
src/ZEO/tests/ConnectionTests.py
View file @
a1f2ca82
...
...
@@ -86,6 +86,7 @@ class CommonSetupTearDown(StorageTestBase):
self
.
_pids
=
[]
self
.
_servers
=
[]
self
.
conf_paths
=
[]
self
.
caches
=
[]
self
.
_newAddr
()
self
.
startServer
()
...
...
@@ -105,13 +106,11 @@ class CommonSetupTearDown(StorageTestBase):
# Not in Windows Python until 2.3
for
pid
in
self
.
_pids
:
os
.
waitpid
(
pid
,
0
)
for
i
in
0
,
1
:
path
=
"c1-test-%d.zec"
%
i
if
os
.
path
.
exists
(
path
):
try
:
for
c
in
self
.
caches
:
for
i
in
0
,
1
:
path
=
"c1-test-%d.zec"
%
i
if
os
.
path
.
exists
(
path
)
:
os
.
unlink
(
path
)
except
os
.
error
:
pass
self
.
__super_tearDown
()
def
_newAddr
(
self
):
...
...
@@ -127,6 +126,7 @@ class CommonSetupTearDown(StorageTestBase):
def
openClientStorage
(
self
,
cache
=
''
,
cache_size
=
200000
,
wait
=
1
,
read_only
=
0
,
read_only_fallback
=
0
,
username
=
None
,
password
=
None
,
realm
=
None
):
self
.
caches
.
append
(
cache
)
storage
=
TestClientStorage
(
self
.
addr
,
client
=
cache
,
cache_size
=
cache_size
,
...
...
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