]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Drop broken unit test for extended-nexthop capability
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 26 Oct 2023 14:20:28 +0000 (17:20 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 26 Oct 2023 14:22:02 +0000 (17:22 +0300)
extended-nexthop capability can't be unset to interface-based peers.

Anyway, this is always silently ignored:

```
✖ [test] peer\capability extended-nexthop
► prepare: initialize bgp test environment
► case 01: set peer-flag [capability extended-nexthop] on [IP-TEST]
► error: execution of command [no neighbor IP-TEST capability extended-nexthop] has failed with code [13]
failed
```

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
tests/bgpd/test_peer_attr.c

index bc6eba9069055bc44ae24a20d0bf6169470ee41a..28035885ff126183fd61aff7c9d5d3fda0f7a035 100644 (file)
@@ -261,13 +261,6 @@ static struct test_peer_attr test_peer_attrs[] = {
                .u.flag = PEER_FLAG_CAPABILITY_ENHE,
                .type = PEER_AT_GLOBAL_FLAG,
        },
-       {
-               .cmd = "capability extended-nexthop",
-               .u.flag = PEER_FLAG_CAPABILITY_ENHE,
-               .type = PEER_AT_GLOBAL_FLAG,
-               .o.invert_peer = true,
-               .o.use_iface_peer = true,
-       },
        {
                .cmd = "capability software-version",
                .u.flag = PEER_FLAG_CAPABILITY_SOFT_VERSION,