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
f46359eb
Commit
f46359eb
authored
Jun 19, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Plain Diff
windows: add missing sleep in tests checking history
This also reverts commit
4905bb85
: sleeping 1ms is enough.
parents
ee942336
4905bb85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/ZODB/tests/HistoryStorage.py
src/ZODB/tests/HistoryStorage.py
+4
-0
No files found.
src/ZODB/tests/HistoryStorage.py
View file @
f46359eb
...
...
@@ -43,6 +43,10 @@ class HistoryStorage:
h
=
self
.
_storage
.
history
(
oid
,
size
=
i
)
self
.
assertEqual
([
d
[
'tid'
]
for
d
in
h
],
revids
[:
i
])
# Check results are sorted by timestamp, in descending order.
if
sys
.
platform
==
'win32'
:
# Same as above. This is also required in case this method is
# called several times for the same storage.
sleep
(
0.001
)
a
=
time
()
for
d
in
h
:
b
=
a
...
...
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