Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
40148ab0
Commit
40148ab0
authored
Dec 22, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/erp5/test: don't retry for so long in TestPublishedURLIsReachableMixin
also access urllib3 from its real location
parent
e75c97cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
software/erp5/test/test/test_erp5.py
software/erp5/test/test/test_erp5.py
+3
-2
No files found.
software/erp5/test/test/test_erp5.py
View file @
40148ab0
...
...
@@ -36,6 +36,7 @@ import psutil
import
requests
import
six
import
six.moves.urllib.parse
import
urllib3
from
.
import
ERP5InstanceTestCase
,
setUpModule
...
...
@@ -66,8 +67,8 @@ class TestPublishedURLIsReachableMixin(object):
session
.
mount
(
base_url
,
requests
.
adapters
.
HTTPAdapter
(
max_retries
=
requests
.
packages
.
urllib3
.
util
.
retry
.
Retry
(
total
=
6
0
,
max_retries
=
urllib3
.
util
.
retry
.
Retry
(
total
=
2
0
,
backoff_factor
=
.
5
,
status_forcelist
=
(
404
,
500
,
503
))))
...
...
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