mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 15:47:22 +00:00
tests: switch test to new fe_client notify selector syntax
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
8772e444a7
commit
56ce19891b
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user