summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py
diff options
context:
space:
mode:
authorPat Ruddy <pat@voltanet.io>2021-05-06 14:36:52 +0100
committerPat Ruddy <pat@voltanet.io>2021-05-06 14:36:52 +0100
commit650e0d1bb8aa85383c2ce8a37461ad25f2c1975e (patch)
tree59951a9457f64dd7cf06617ff7868437a91fcc8d /tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py
parent4478793c43dd5dd895b0e9391765577c3097a392 (diff)
tests: fix intermittent key error in bgp-auth topotest
There is a rare case where with prefix peers the peer is completely absent from the json output when checking the peer state resulting in a python key error. Check key exists before checking the state. Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py')
0 files changed, 0 insertions, 0 deletions