]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Check received routes count for labeled-unicast with addpath
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 30 Mar 2023 13:50:15 +0000 (16:50 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 30 Mar 2023 14:33:21 +0000 (17:33 +0300)
commit9db7ed2fc9353e249c4ba5f0faf542ae100ff7ef
tree71e29f285bb86ee263139f1b9bc6bc051c6b4aeb
parent6baf6b184c2cee822b1463708aac9d0886743003
tests: Check received routes count for labeled-unicast with addpath

Test failed time to time, let's try this way:

```
$ for x in $(seq 1 20); do cp test_bgp_labeled_unicast_addpath.py test_$x.py; done
$ sudo pytest -s -n 20
```

Ran 10 times using this pattern, no failure :shrug:

Before this change, we checked advertised routes, and at some point `=` was
missing from the output, but advertised correctly. Receiving router gets as
much routes as expected to receive.

I reversed checking received routes, not advertised.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
tests/topotests/bgp_labeled_unicast_addpath/test_bgp_labeled_unicast_addpath.py