summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_reflector_test.py
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2016-03-14 14:51:54 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2016-03-14 15:14:18 +0900
commit483fc497aca18cd6572f6ae12f0d52486d17e3cd (patch)
tree2188b41d82ad0afa755f64d462c1dcb47d6f688d /test/scenario_test/route_reflector_test.py
parent376d5b3bb8fa65ace77bc3423e16ee2078038058 (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/route_reflector_test.py')
-rw-r--r--test/scenario_test/route_reflector_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/scenario_test/route_reflector_test.py b/test/scenario_test/route_reflector_test.py
index 73e7f4d9..775032cf 100644
--- a/test/scenario_test/route_reflector_test.py
+++ b/test/scenario_test/route_reflector_test.py
@@ -87,6 +87,9 @@ class GoBGPTestBase(unittest.TestCase):
for q in self.quaggas.itervalues():
# paths expected to exist in gobgp's global rib
def f():
+ state = self.gobgp.get_neighbor_state(q)
+ self.assertEqual(state, BGP_FSM_ESTABLISHED)
+
routes = q.routes.keys()
global_rib = [p['prefix'] for p in self.gobgp.get_global_rib()]
for p in global_rib: