]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Update join state in verify_upstream_iif API 14058/head
authorKuldeep Kashyap <kashyapk@vmware.com>
Wed, 19 Jul 2023 13:51:01 +0000 (19:21 +0530)
committerKuldeep Kashyap <kashyapk@vmware.com>
Wed, 19 Jul 2023 13:51:01 +0000 (19:21 +0530)
When JoinState is not passed to API it is expected to
be in Joined state, there was a minor bug in API, where
it was printng JoinState as None, which is default value
in API. Updated value to print Joined when verification
fails.

Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
tests/topotests/lib/pim.py

index f69718a5bd4b746a76e94fa23a7cb675825eed05..f7440efd6d57b5c8274e234a0e075a4246c225df 100644 (file)
@@ -1132,7 +1132,7 @@ def verify_upstream_iif(
                                     grp_addr,
                                     in_interface,
                                     group_addr_json[src_address]["inboundInterface"],
-                                    joinState,
+                                    "Joined",
                                     group_addr_json[src_address]["joinState"],
                                 )
                             )