Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
e8e6156e
Commit
e8e6156e
authored
Jul 20, 2012
by
Jonathon Duerig
Browse files
Increase number of retries when resolving or fetching credentials.
parent
5ff038b2
Changes
1
Show whitespace changes
Inline
Side-by-side
protogeni/test/test-common.py
View file @
e8e6156e
...
@@ -344,7 +344,7 @@ def resolve_slice( name, selfcredential ):
...
@@ -344,7 +344,7 @@ def resolve_slice( name, selfcredential ):
params
[
"hrn"
]
=
name
params
[
"hrn"
]
=
name
pass
pass
count
=
2
count
=
2
0
while
True
:
while
True
:
rval
,
response
=
do_method
(
"sa"
,
"Resolve"
,
params
)
rval
,
response
=
do_method
(
"sa"
,
"Resolve"
,
params
)
if
rval
:
if
rval
:
...
@@ -381,7 +381,7 @@ def get_slice_credential( slice, selfcredential ):
...
@@ -381,7 +381,7 @@ def get_slice_credential( slice, selfcredential ):
params
[
"uuid"
]
=
slice
[
"uuid"
]
params
[
"uuid"
]
=
slice
[
"uuid"
]
pass
pass
count
=
2
count
=
2
0
while
True
:
while
True
:
rval
,
response
=
do_method
(
"sa"
,
"GetCredential"
,
params
)
rval
,
response
=
do_method
(
"sa"
,
"GetCredential"
,
params
)
if
rval
:
if
rval
:
...
...
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