summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-13 19:35:01 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-13 19:35:01 +0100
commit0f69c4cd34647b75eb9a060a230158f289b03d5b (patch)
tree55a3358c6546b1b09c8a5705bfdf13eed87629ea /smoketest/scripts
parentf1950a6a11dfd085e72b4f3a839febc69bb66692 (diff)
downloadvyos-1x-0f69c4cd34647b75eb9a060a230158f289b03d5b.tar.gz
vyos-1x-0f69c4cd34647b75eb9a060a230158f289b03d5b.zip
ospf: T4934: bugfix AssertionError in smoketest
This fixes commit 20f448d16c ("T4934: ospf: Fix inter-area route summarization") where an assert was present for a CLI option that was missing to be set causing tests to fail.
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_ospf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ospf.py b/smoketest/scripts/cli/test_protocols_ospf.py
index 130cd3644..ec434e7d0 100755
--- a/smoketest/scripts/cli/test_protocols_ospf.py
+++ b/smoketest/scripts/cli/test_protocols_ospf.py
@@ -75,6 +75,7 @@ class TestProtocolsOSPF(VyOSUnitTestSHIM.TestCase):
self.cli_set(base_path + ['log-adjacency-changes', 'detail'])
self.cli_set(base_path + ['default-metric', metric])
self.cli_set(base_path + ['passive-interface', 'default'])
+ self.cli_set(base_path + ['area', '10', 'area-type', 'stub'])
self.cli_set(base_path + ['area', '10', 'network', '10.0.0.0/16'])
self.cli_set(base_path + ['area', '10', 'range', '10.0.1.0/24'])
self.cli_set(base_path + ['area', '10', 'range', '10.0.2.0/24', 'not-advertise'])