diff options
author | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2016-03-14 14:51:54 +0900 |
---|---|---|
committer | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2016-03-14 15:14:18 +0900 |
commit | 483fc497aca18cd6572f6ae12f0d52486d17e3cd (patch) | |
tree | 2188b41d82ad0afa755f64d462c1dcb47d6f688d /test/scenario_test/bgp_router_test.py | |
parent | 376d5b3bb8fa65ace77bc3423e16ee2078038058 (diff) |
scenario_test: run scenario test on travis
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
Diffstat (limited to 'test/scenario_test/bgp_router_test.py')
-rw-r--r-- | test/scenario_test/bgp_router_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py index 3bac02ff..dd7c1edb 100644 --- a/test/scenario_test/bgp_router_test.py +++ b/test/scenario_test/bgp_router_test.py @@ -74,8 +74,11 @@ class GoBGPTestBase(unittest.TestCase): timeout = 120 interval = 1 count = 0 + while True: # gobgp's global rib + state = self.gobgp.get_neighbor_state(q) + self.assertEqual(state, BGP_FSM_ESTABLISHED) global_rib = [p['prefix'] for p in self.gobgp.get_global_rib()] for p in global_rib: |