Skip to content

Commit

Permalink
fixing condition to raise exception when URL is not reachable [Fixes M…
Browse files Browse the repository at this point in the history
  • Loading branch information
DheerajDang committed May 21, 2021
1 parent 9e271b1 commit 594853d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rally_plugins/scenarios/kubernetes/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def run(self, image, port, protocol, image_pull_policy='IfNotPresent',
if i < retries_total:
i += 1
commonutils.interruptable_sleep(sleep_time)
else:
if i == retries_total:
raise exceptions.RallyException(
message="Unable to get response "
"from %(url)s: %(ex)s" % {
Expand Down

0 comments on commit 594853d

Please sign in to comment.