summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/scenario_test/bgp_router_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py
index 1a72c3e5..d80b3631 100644
--- a/test/scenario_test/bgp_router_test.py
+++ b/test/scenario_test/bgp_router_test.py
@@ -431,7 +431,6 @@ class GoBGPTestBase(unittest.TestCase):
self.quaggas = {'g2': g2, 'g3': g3}
g2.local('gobgp global rib add 50.0.0.0/24')
- g3.local('gobgp global rib add 50.0.0.0/24 med 10')
g1.add_peer(g2)
g2.add_peer(g1)
@@ -442,6 +441,8 @@ class GoBGPTestBase(unittest.TestCase):
self.test_02_check_gobgp_global_rib()
+ g3.local('gobgp global rib add 50.0.0.0/24 med 10')
+
paths = g1.get_adj_rib_out(g2, '50.0.0.0/24')
self.assertTrue(len(paths) == 0)
paths = g1.get_adj_rib_out(g3, '50.0.0.0/24')