summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_reflector_test.py
diff options
context:
space:
mode:
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: