]> git.puffer.fish Git - mirror/frr.git/commit
tests: Addition of AutoRP Discovery uncovered broken PIM test 16634/head
authorNathan Bahr <nbahr@atcorp.com>
Wed, 18 Sep 2024 15:00:10 +0000 (15:00 +0000)
committerNathan Bahr <nbahr@atcorp.com>
Tue, 24 Sep 2024 16:40:57 +0000 (16:40 +0000)
commitdff1db9ef699a768806d1aa752f0166d33339bc9
tree74ced7add80ac4149e3b14076419c75b3bf07531
parentec37f603a1e1a86904e10f37d4f2e23b0d71999d
tests: Addition of AutoRP Discovery uncovered broken PIM test

With AutoRP discovery running by default, that adds a new
IGMP group that needs to be accounted for in IGMP output.

For pim.py
  The clear IGMP interfaces function is in a broken state. It was
  already ignoring any errors and returned true always, but with
  the addition of the AutoRP discovery group, you could end up
  with a different group order in the json which would cause a key
  error making the test fail. For now I just added a check to
  avoid the key error.

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
tests/topotests/lib/pim.py