Skip to content

Ignore link-local routes in SBR tests#1102

Merged
squeed merged 1 commit intocontainernetworking:mainfrom
LionelJouin:fix-1096
Sep 30, 2024
Merged

Ignore link-local routes in SBR tests#1102
squeed merged 1 commit intocontainernetworking:mainfrom
LionelJouin:fix-1096

Conversation

@LionelJouin
Copy link
Copy Markdown
Member

The tests were flaky due to a route with the link-local IP being automatically added after the test run saves the initial state (routes before SBR plugin is ran). When the SBR plugin is ran, the new state is compared with the old state. The new state will then contain the route with the link-local IP (that has been added after saving the old state), the old state was not containing it, so the tests were failing

The solution here is to ignore routes with the link-local IP for the tests.

fixes: #1096

The tests were flaky due to a route with the link-local IP being
automatically added after the test run saves the initial state
(routes before SBR plugin is ran). When the SBR plugin is ran,
the new state is compared with the old state. The new state will
then contain the route with the link-local IP (that has been
added after saving the old state), the old state was not
containing it, so the tests were failing

The solution here is to ignore routes with the link-local IP
for the tests.

fixes: containernetworking#1096

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
@squeed squeed merged commit c11ed48 into containernetworking:main Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky SBR tests due to routes with link-local IP

2 participants