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: multiple OSPF routers connected to a single switch #14775

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

adrianomarto
Copy link
Contributor

A large set of routers are connected to the same switch. Each router shares a single network. All shared networks must be reachable from all routers.

@frrbot frrbot bot added the tests Topotests, make check, etc label Nov 12, 2023
@adrianomarto adrianomarto force-pushed the test_ospfd_single_switch2 branch 3 times, most recently from 4931b54 to f69d3a4 Compare November 13, 2023 05:22
Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

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

pytestmark is missing also.

@adrianomarto adrianomarto force-pushed the test_ospfd_single_switch2 branch 2 times, most recently from e1777ba to 6511d20 Compare November 14, 2023 08:27
@ton31337
Copy link
Member

ci:rerun

Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

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

looks good

@donaldsharp donaldsharp self-requested a review November 28, 2023 16:24
@riw777
Copy link
Member

riw777 commented Dec 12, 2023

Can we get this looked at--

ospf_single_switch.test_ospf_single_switch test_all_routes_advertised(21.363 s)

E json.decoder.JSONDecodeError: Extra data: line 1 column 5 (char 4)

Looks like a change is needed in the new test?

@riw777
Copy link
Member

riw777 commented Jan 16, 2024

@adrianomarto still working on this?

@adrianomarto
Copy link
Contributor Author

adrianomarto commented Jan 16, 2024

The JSONDecodeError is expected to happen on older operating systems, such as Ubuntu 18.04. That is because they don't support the "-j" option in the "ip -j route". @ton31337 agreed this would not be a problem as those operating systems would be deprecated soon.

@riw777, which platform has produced this result?

@adrianomarto adrianomarto force-pushed the test_ospfd_single_switch2 branch 2 times, most recently from 3b12cf8 to d9785fd Compare January 26, 2024 10:55
A large set of routers are connected to the same switch. Each router
shares a single network. All shared networks must be reachable from all
routers.

Signed-off-by: "Adriano Marto Reis" <[email protected]>
@adrianomarto adrianomarto force-pushed the test_ospfd_single_switch2 branch from d9785fd to f3de123 Compare January 26, 2024 20:40
@adrianomarto
Copy link
Contributor Author

I modified the test so it is only executed if the target platform supports the command "ip -j route get".

@riw777
Copy link
Member

riw777 commented Jan 30, 2024

Waiting on @donaldsharp for a bit before pushing this ...

@ton31337 ton31337 merged commit c357942 into FRRouting:master Feb 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master rebase PR needs rebase size/L tests Topotests, make check, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants