Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Allow convergence before adding multicast routes #16656

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

donaldsharp
Copy link
Member

Current code adds a new vlan interface, sets up ospf and pim on it and immediately starts shoving data down the pipes. This of course has the fun thing where the IGP and pim do not always come up in a nice neat manner and the test is looking for state from a nice neat come up, even though pim is working correctly it is not correct for what the test wants.

Modify the code to ensure that ospf is up and has propagated the route where it is needed as well as that pim neighbors have properly come up, then initiate the multicast streams and igmp reports.

@frrbot frrbot bot added the tests Topotests, make check, etc label Aug 26, 2024
@@ -25,6 +25,11 @@
import datetime
from time import sleep
import pytest
from functools import partial
import json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already there just above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep fixed

Current code adds a new vlan interface, sets up ospf and
pim on it and immediately starts shoving data down the pipes.
This of course has the fun thing where the IGP and pim do not
always come up in a nice neat manner and the test is looking
for state from a nice neat come up, even though pim is `working`
correctly it is not correct for what the test wants.

Modify the code to ensure that ospf is up and has propagated
the route where it is needed as well as that pim neighbors have
properly come up, then initiate the multicast streams and igmp
reports.

Signed-off-by: Donald Sharp <[email protected]>
@donaldsharp donaldsharp force-pushed the minor_fix_for_pim_dr_nondr branch from 397d308 to 3c4ffca Compare August 26, 2024 20:03
@Jafaral
Copy link
Member

Jafaral commented Aug 26, 2024

Will get it in once it passes CI

@mjstapp mjstapp merged commit 17fffba into FRRouting:master Aug 27, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master size/M tests Topotests, make check, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants