Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
40148ab0
Commit
40148ab0
authored
Dec 22, 2021
by
Jérome Perrin
1
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
))))
...
...
Levin Zimmermann
@levin.zimmermann
mentioned in merge request
!1283 (closed)
·
Dec 02, 2022
mentioned in merge request
!1283 (closed)
mentioned in merge request !1283
Toggle commit list
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