diff options
-rw-r--r-- | ryu/tests/integrated/common/docker_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/tests/integrated/common/docker_base.py b/ryu/tests/integrated/common/docker_base.py index fb810848..1cb7cbb6 100644 --- a/ryu/tests/integrated/common/docker_base.py +++ b/ryu/tests/integrated/common/docker_base.py @@ -133,7 +133,7 @@ class Command(object): if out.returncode == 0: return out LOG.error(out.stderr) - if try_times + 1 >= try_times: + if i + 1 >= try_times: break time.sleep(interval) raise CommandError(out) |