summaryrefslogtreecommitdiffhomepage
path: root/test/lib/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/base.py')
-rw-r--r--test/lib/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/base.py b/test/lib/base.py
index f37c695d..b8a40050 100644
--- a/test/lib/base.py
+++ b/test/lib/base.py
@@ -552,7 +552,7 @@ class BGPContainer(Container):
while True:
res = self.local(cmd, capture=True)
print colors.yellow(res)
- if '1 packets received' in res and '0% packet loss':
+ if ('1 packets received' in res or '1 received' in res) and '0% packet loss' in res:
break
time.sleep(interval)
count += interval