From 2e05695f683430bdf39573b19f51bac4dcbbc693 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sun, 20 Oct 2019 21:25:03 +0900 Subject: avoid installing routes with originator ID to global when softresetin Signed-off-by: FUJITA Tomonori --- test/scenario_test/aspath_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/scenario_test/aspath_test.py b/test/scenario_test/aspath_test.py index c93cc7e5..e8227adf 100644 --- a/test/scenario_test/aspath_test.py +++ b/test/scenario_test/aspath_test.py @@ -91,7 +91,7 @@ class GoBGPTestBase(unittest.TestCase): def test_03_update_peer(self): self.g2.update_peer(self.q1, allow_as_in=10) - self.q1.wait_for(expected_state=BGP_FSM_ESTABLISHED, peer=self.g2) + self.g2.wait_for(expected_state=BGP_FSM_ESTABLISHED, peer=self.q1) def test_04_check_accept_as_loop(self): def f(): @@ -102,6 +102,7 @@ class GoBGPTestBase(unittest.TestCase): for afisafi in r['afi_safis']: self.assertTrue('state' in afisafi) s = afisafi.get('state') + self.assertTrue('received' in s) received += s.get('received') accepted += s.get('accepted') self.assertEqual(received, 1) -- cgit v1.2.3