summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-11 05:16:01 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-09-11 05:16:01 +0200
commitbce69e3c54cfc95d615d081382ec3efa153270d7 (patch)
treeac795f1fa631891fe08d6fbb12189bcb36321894 /tests
parentMerge pull request #4958 from donaldsharp/pim_assert_a_saurus (diff)
downloadfrr-bce69e3c54cfc95d615d081382ec3efa153270d7.tar.xz
frr-bce69e3c54cfc95d615d081382ec3efa153270d7.zip
tests: Fix topotests due to json error
Recent commit: 5fba22485b added a new topotest that used an older version of FRR that referenced some json code that was changed in between when the PR was submitted and when it got in. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/bgp_aggregate-address_route-map/test_bgp_aggregate-address_route-map.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/bgp_aggregate-address_route-map/test_bgp_aggregate-address_route-map.py b/tests/topotests/bgp_aggregate-address_route-map/test_bgp_aggregate-address_route-map.py
index 387d25d0f..bee511532 100644
--- a/tests/topotests/bgp_aggregate-address_route-map/test_bgp_aggregate-address_route-map.py
+++ b/tests/topotests/bgp_aggregate-address_route-map/test_bgp_aggregate-address_route-map.py
@@ -92,7 +92,7 @@ def test_bgp_maximum_prefix_invalid():
while True:
output = json.loads(tgen.gears[router].vtysh_cmd("show ip bgp neighbor 192.168.255.1 json"))
if output['192.168.255.1']['bgpState'] == 'Established':
- if output['192.168.255.1']['addressFamilyInfo']['IPv4 Unicast']['acceptedPrefixCounter'] == 3:
+ if output['192.168.255.1']['addressFamilyInfo']['ipv4Unicast']['acceptedPrefixCounter'] == 3:
return True
def _bgp_aggregate_address_has_metric(router):