Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tempstorage
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
tempstorage
Commits
d49d49a3
Commit
d49d49a3
authored
May 02, 2010
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wake up, Rip van Winkle.
parent
54b8b153
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/tempstorage/tests/testTemporaryStorage.py
src/tempstorage/tests/testTemporaryStorage.py
+3
-3
No files found.
src/tempstorage/tests/testTemporaryStorage.py
View file @
d49d49a3
...
@@ -78,12 +78,12 @@ class TemporaryStorageTests(StorageTestBase.StorageTestBase,
...
@@ -78,12 +78,12 @@ class TemporaryStorageTests(StorageTestBase.StorageTestBase,
def
checkConflictCacheIsCleared
(
self
):
def
checkConflictCacheIsCleared
(
self
):
import
time
import
time
from
ZODB.tests.MinPO
import
MinPO
from
ZODB.tests.MinPO
import
MinPO
self
.
_set_conflict_cache
(
5
,
5
)
self
.
_set_conflict_cache
(
1
,
1
)
oid
=
self
.
_storage
.
new_oid
()
oid
=
self
.
_storage
.
new_oid
()
self
.
_dostore
(
oid
,
data
=
MinPO
(
5
))
self
.
_dostore
(
oid
,
data
=
MinPO
(
5
))
time
.
sleep
(
6
)
time
.
sleep
(
2
)
oid2
=
self
.
_storage
.
new_oid
()
oid2
=
self
.
_storage
.
new_oid
()
self
.
_dostore
(
oid2
,
data
=
MinPO
(
10
))
self
.
_dostore
(
oid2
,
data
=
MinPO
(
10
))
...
@@ -93,7 +93,7 @@ class TemporaryStorageTests(StorageTestBase.StorageTestBase,
...
@@ -93,7 +93,7 @@ class TemporaryStorageTests(StorageTestBase.StorageTestBase,
self
.
assertEqual
(
len
(
self
.
_storage
.
_conflict_cache
),
2
)
self
.
assertEqual
(
len
(
self
.
_storage
.
_conflict_cache
),
2
)
time
.
sleep
(
6
)
time
.
sleep
(
2
)
oid4
=
self
.
_storage
.
new_oid
()
oid4
=
self
.
_storage
.
new_oid
()
self
.
_dostore
(
oid4
,
data
=
MinPO
(
11
))
self
.
_dostore
(
oid4
,
data
=
MinPO
(
11
))
...
...
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