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

Tracer was not being called via start_supervised #750

Merged
merged 2 commits into from
Oct 15, 2022

Conversation

scohen
Copy link
Contributor

@scohen scohen commented Oct 14, 2022

This caused it not to cleanly exit before the next test, but only sometimes.
Flaky tests are no fun.

This caused it not to cleanly exit before the next test, but only
sometimes.
Flaky tests are no fun.
@@ -235,13 +235,13 @@ defmodule ElixirLS.LanguageServer.ServerTest do
end

setup context do
unless context[:skip_server] do
if context[:skip_server] do
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: unless with an else is flagged by credo for legibility.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don’t think that it’s a code smell

@lukaszsamson
Copy link
Collaborator

That one was irritating. Thanks

@lukaszsamson lukaszsamson merged commit a4bd85e into elixir-lsp:master Oct 15, 2022
@scohen scohen deleted the scohen/fix-tracer-test branch November 7, 2022 19:27
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