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
Kirill Smelkov
ZODB
Commits
f67d9e61
Commit
f67d9e61
authored
Aug 12, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use local method _get_timestamp().
parent
abf372ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
trunk/src/ZEO/tests/CommitLockTests.py
trunk/src/ZEO/tests/CommitLockTests.py
+4
-1
No files found.
trunk/src/ZEO/tests/CommitLockTests.py
View file @
f67d9e61
...
@@ -13,7 +13,10 @@
...
@@ -13,7 +13,10 @@
##############################################################################
##############################################################################
"""Tests of the distributed commit lock."""
"""Tests of the distributed commit lock."""
import
time
from
ZODB.Transaction
import
Transaction
from
ZODB.Transaction
import
Transaction
from
ZODB.TimeStamp
import
TimeStamp
from
ZODB.tests.StorageTestBase
import
zodb_pickle
,
MinPO
from
ZODB.tests.StorageTestBase
import
zodb_pickle
,
MinPO
import
ZEO.ClientStorage
import
ZEO.ClientStorage
...
@@ -113,7 +116,7 @@ class CommitLockTests:
...
@@ -113,7 +116,7 @@ class CommitLockTests:
for
i
in
range
(
4
):
for
i
in
range
(
4
):
storage2
=
self
.
_duplicate_client
()
storage2
=
self
.
_duplicate_client
()
t2
=
Transaction
()
t2
=
Transaction
()
tid
=
`ZEO.ClientStorage.get_timestamp()`
# XXX why?
tid
=
self
.
_get_timestamp
()
dosetup
(
storage2
,
t2
,
tid
)
dosetup
(
storage2
,
t2
,
tid
)
if
i
==
0
:
if
i
==
0
:
storage2
.
close
()
storage2
.
close
()
...
...
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