def METHOD_NAME():
    "Assert that the BFD peers can find themselves."
    tgen = get_topogen()
    if tgen.routers_have_failure():
        pytest.skip(tgen.errors)
    logger.info("waiting for bfd peers to go up")
    router = tgen.gears['r1']
    json_file = "{}/{}/bfd_peers_status.json".format(CWD, 'r1')
    expected = json.loads(open(json_file).read())
    test_func = partial(
        topotest.router_json_cmp, router, "show bfd peers json", expected
    )
    _, result = topotest.run_and_expect(test_func, None, count=16, wait=1)
    assertmsg = '"{}" JSON output mismatches'.format(router.name)
    assert result is None, assertmsg