tests: switch test to new fe_client notify selector syntax

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2024-06-06 10:06:04 -04:00
parent 8772e444a7
commit 56ce19891b

View File

@ -51,7 +51,7 @@ def test_frontend_notification(tgen):
check_kernel_32(r1, "11.11.11.11", 1, "") check_kernel_32(r1, "11.11.11.11", 1, "")
fe_client_path = CWD + "/../lib/fe_client.py" fe_client_path = CWD + "/../lib/fe_client.py --verbose"
rc, _, _ = r1.cmd_status(fe_client_path + " --help") rc, _, _ = r1.cmd_status(fe_client_path + " --help")
if rc: if rc:
@ -61,7 +61,7 @@ def test_frontend_notification(tgen):
# So we filter to avoid that, all the rest are frr-ripd:authentication-failure # So we filter to avoid that, all the rest are frr-ripd:authentication-failure
# making our test deterministic # making our test deterministic
output = r1.cmd_raises( output = r1.cmd_raises(
fe_client_path + " --listen frr-ripd:authentication-failure" fe_client_path + " --listen /frr-ripd:authentication-failure"
) )
jsout = json.loads(output) jsout = json.loads(output)