summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-03 11:20:50 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-03 11:20:50 +0900
commitb13c09baa66eaab822eb42bbf0a02fdbbf532932 (patch)
tree6842c796bd4384c6a1aef208b09b5d1a62b80170 /test/scenario_test
parenta3237877e024f44f96f02c83237cf614baf8bcd0 (diff)
table: fix leftmostAS() in compareByMED
Needs the first AS in the AS_SEQUENCE is the same for multiple paths. Any preceding AS_CONFED_SEQUENCE is ignored. Also rename the function name to 'firstAS'. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test')
-rw-r--r--test/scenario_test/route_server_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/scenario_test/route_server_test.py b/test/scenario_test/route_server_test.py
index afe350af..56446649 100644
--- a/test/scenario_test/route_server_test.py
+++ b/test/scenario_test/route_server_test.py
@@ -173,6 +173,7 @@ class GoBGPTestBase(unittest.TestCase):
def test_09_check_rs_clients_rib(self):
self.check_rs_client_rib()
+ @unittest.skip("med shouldn't work with different AS peers by default")
def test_10_add_distant_relative(self):
q1 = self.quaggas['q1']
q2 = self.quaggas['q2']