From: Kuldeep Kashyap Date: Wed, 19 Jul 2023 13:51:01 +0000 (+0530) Subject: tests: Update join state in verify_upstream_iif API X-Git-Tag: base_9.1~224^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3066746f5fee4e8d7f989f8c3910f1b44e3f5e53;p=mirror%2Ffrr.git tests: Update join state in verify_upstream_iif API 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 --- diff --git a/tests/topotests/lib/pim.py b/tests/topotests/lib/pim.py index f69718a5bd..f7440efd6d 100644 --- a/tests/topotests/lib/pim.py +++ b/tests/topotests/lib/pim.py @@ -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"], ) )