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

lsp: fix flaky test #660

Merged
merged 1 commit into from
Apr 18, 2024
Merged

lsp: fix flaky test #660

merged 1 commit into from
Apr 18, 2024

Conversation

charlieegan3
Copy link
Member

This test was relying on the correct sequence of messages to be sent to the client. Now we just wait for a condition to be true and continue when it is met.

This was missed as part of the test updates in #650 testRequestDataCodes is now used for these examples too.

This test was relying on the correct sequence of messages to be sent to
the client. Now we just wait for a condition to be true and continue
when it is met.

Signed-off-by: Charlie Egan <charlie@styra.com>
@charlieegan3 charlieegan3 marked this pull request as ready for review April 18, 2024 09:57
Copy link
Member

@anderseknert anderseknert left a comment

Choose a reason for hiding this comment

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

Thanks!

@charlieegan3 charlieegan3 merged commit c717dd6 into main Apr 18, 2024
3 checks passed
@charlieegan3 charlieegan3 deleted the fix-lsp-test branch April 18, 2024 13:41
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
This test was relying on the correct sequence of messages to be sent to
the client. Now we just wait for a condition to be true and continue
when it is met.

Signed-off-by: Charlie Egan <charlie@styra.com>
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.

2 participants