Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
f3960056
Commit
f3960056
authored
Mar 05, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sigh. increase more timeout allowances for appveyor.
parent
e6103698
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
greentest/greentest.py
greentest/greentest.py
+3
-2
greentest/test_hub_join_timeout.py
greentest/test_hub_join_timeout.py
+1
-1
No files found.
greentest/greentest.py
View file @
f3960056
...
...
@@ -515,7 +515,7 @@ class _DelayWaitMixin(object):
else
:
# Timing resolution is extremely poor on Appveyor
# and subject to jitter.
_default_delay_max_adj
=
0.98
_default_delay_max_adj
=
1.5
def
wait
(
self
,
timeout
):
raise
NotImplementedError
(
'override me in subclass'
)
...
...
@@ -566,7 +566,8 @@ class GenericWaitTestCase(_DelayWaitMixin, TestCase):
_default_delay_max_adj
=
0.11
else
:
# Timing resolution is very poor on Appveyor
_default_delay_max_adj
=
0.9
# and subject to jitter
_default_delay_max_adj
=
1.5
def
test_returns_none_after_timeout
(
self
):
result
=
self
.
_wait_and_check
()
...
...
greentest/test_hub_join_timeout.py
View file @
f3960056
...
...
@@ -28,7 +28,7 @@ def expected_time(expected, fuzzy=None):
assert
expected
-
fuzzy
<=
elapsed
<=
expected
+
fuzzy
,
'Expected: %r; elapsed: %r; fuzzy %r'
%
(
expected
,
elapsed
,
fuzzy
)
def
no_time
(
fuzzy
=
0.001
):
def
no_time
(
fuzzy
=
(
0.001
if
not
RUNNING_ON_APPVEYOR
else
1.0
)
):
return
expected_time
(
0
,
fuzzy
=
fuzzy
)
...
...
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