]> git.puffer.fish Git - mirror/frr.git/commitdiff
isis-topo1: skip test on FRR 2.0
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 20 Dec 2017 11:34:57 +0000 (09:34 -0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:13 +0000 (20:22 -0500)
It was noticed that this topology doesn't converge when there are IPv6
configurations, so this commit makes the tests to be skipped when the
version is 2.X.Y.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org
tests/topotests/isis-topo1/test_isis_topo1.py

index 01d019a31cd99ea1cf7e718cd6019a423c5f86d8..f3685ab2a67ce00c47d3205e885b07d0f58bbd6e 100644 (file)
@@ -101,6 +101,15 @@ def setup_module(mod):
     # After loading the configurations, this function loads configured daemons.
     tgen.start_router()
 
+    has_version_20 = False
+    for router in tgen.routers().values():
+        if router.has_version('<', '3'):
+            has_version_20 = True
+
+    if has_version_20:
+        logger.info('Skipping ISIS tests for FRR 2.0')
+        tgen.set_error('ISIS has convergence problems with IPv6')
+
 
 def teardown_module(mod):
     "Teardown the pytest environment"