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: wait for test client to connect before running test #16523

Merged

Conversation

choppsv1
Copy link
Contributor

@choppsv1 choppsv1 commented Aug 7, 2024

Vtysh has been improved to startup very quickly this exposed a race in this test, where the clear ip rip... command ran before the test client that handles it had finished connecting to mgmtd. Add a retried check for the test client being connected before issuing the clear ip rip ... test command.

@frrbot frrbot bot added the tests Topotests, make check, etc label Aug 7, 2024
@choppsv1 choppsv1 requested a review from donaldsharp August 7, 2024 13:35
Vtysh has been improved to startup very quickly this exposed a race in this
test, where the `clear ip rip...` command ran before the test client that
handles it had finished connecting to mgmtd. Add a retried check for the test
client being connected before issuing the `clear ip rip ...` test command.

Signed-off-by: Christian Hopps <[email protected]>
@choppsv1 choppsv1 force-pushed the chopps/fix-mgmt-rpc-test branch from 028809e to 2ee9f4d Compare August 7, 2024 13:35
@donaldsharp
Copy link
Member

Once CI finishes I'll push this in.

@donaldsharp donaldsharp merged commit d36ff6d into FRRouting:master Aug 7, 2024
10 of 11 checks passed
@choppsv1 choppsv1 deleted the chopps/fix-mgmt-rpc-test branch August 7, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master size/S tests Topotests, make check, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants