From b37dff1ff97beadc6cd842b7e9f742da02fec7b5 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 3 Jul 2015 12:47:40 +0900 Subject: test: stretch timeout Signed-off-by: ISHIDA Wataru --- test/scenario_test/bgp_router_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/scenario_test/bgp_router_test.py') 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) -- cgit v1.2.3