diff options
Diffstat (limited to 'test/scenario_test/lib/gobgp.py')
-rw-r--r-- | test/scenario_test/lib/gobgp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/scenario_test/lib/gobgp.py b/test/scenario_test/lib/gobgp.py index 3b7ec5ba..1bfcf5fe 100644 --- a/test/scenario_test/lib/gobgp.py +++ b/test/scenario_test/lib/gobgp.py @@ -124,7 +124,7 @@ class GoBGPContainer(BGPContainer): output = local(cmd, capture=True) return json.loads(output)['info']['bgp_state'] - def wait_for(self, expected_state, peer, timeout=20): + def wait_for(self, expected_state, peer, timeout=120): state = self.get_neighbor_state(peer) y = colors.yellow print y("{0}'s peer {1} state: {2}".format(self.router_id, @@ -142,6 +142,8 @@ class GoBGPContainer(BGPContainer): stdout=subprocess.PIPE, stderr=subprocess.PIPE) + print '[localhost] local:', cmd + poll = select.epoll() poll.register(process.stdout, select.POLLIN) |