Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
04518c2e
Commit
04518c2e
authored
Jun 18, 2013
by
Ilias Tsitsimpis
Browse files
burnin: Set CONNECTION_RETRY_LIMIT for PithosClient
Set CONNECTION_RETRY_LIMIT=2 for the PithosClient
parent
051ae2a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-tools/synnefo_tools/burnin.py
View file @
04518c2e
...
...
@@ -244,6 +244,7 @@ class ImagesTestCase(unittest.TestCase):
pithos_url
=
cls
.
astakos_client
.
\
get_service_endpoints
(
'object-store'
)[
'publicURL'
]
cls
.
pithos_client
=
PithosClient
(
pithos_url
,
TOKEN
)
cls
.
pithos_client
.
CONNECTION_RETRY_LIMIT
=
2
# Get images
cls
.
images
=
\
...
...
@@ -452,6 +453,7 @@ class PithosTestCase(unittest.TestCase):
pithos_url
=
cls
.
astakos_client
.
\
get_service_endpoints
(
'object-store'
)[
'publicURL'
]
cls
.
pithos_client
=
PithosClient
(
pithos_url
,
TOKEN
,
cls
.
uuid
)
cls
.
pithos_client
.
CONNECTION_RETRY_LIMIT
=
2
cls
.
containers
=
cls
.
pithos_client
.
list_containers
()
cls
.
result_dict
=
dict
()
...
...
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