summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/bgp_router_test.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-07-03 12:47:40 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-07-03 12:47:40 +0900
commitb37dff1ff97beadc6cd842b7e9f742da02fec7b5 (patch)
tree85e7da96ca4737ef2aac814e5db6627893b0e44d /test/scenario_test/bgp_router_test.py
parentb02f24e01213a19b92ebd96b703e0240fdf8d3ff (diff)
test: stretch timeout
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/bgp_router_test.py')
-rw-r--r--test/scenario_test/bgp_router_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py
index 8b17e380..5d71ff85 100644
--- a/test/scenario_test/bgp_router_test.py
+++ b/test/scenario_test/bgp_router_test.py
@@ -90,6 +90,8 @@ class GoBGPTestBase(unittest.TestCase):
cmd = 'docker exec {0} {1}' \
' monitor global rib -j'.format(self.gobgp.name, gobgp)
+ print '[localhost] local:', cmd
+
process = subprocess.Popen(cmd, shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
@@ -97,7 +99,7 @@ class GoBGPTestBase(unittest.TestCase):
poll = select.epoll()
poll.register(process.stdout, select.POLLIN)
- timeout = 10.0
+ timeout = 120.0
while True:
result = poll.poll(timeout)