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

Add Faraday test for library errors #909

Merged
merged 1 commit into from
Jan 8, 2020
Merged

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Jan 7, 2020

Faraday is missing a where the library throws an error, like when it can't establish connection to the remote server.

This PR asserts that our instrumentation properly reports all information available about this error.

The tracer already does this correctly, this PR just adds a test to cover such case.

@marcotc marcotc added integrations Involves tracing integrations dev/testing Involves testing processes (e.g. RSpec) labels Jan 7, 2020
@marcotc marcotc requested a review from a team January 7, 2020 23:39
@marcotc marcotc self-assigned this Jan 7, 2020
Copy link
Contributor

@delner delner left a comment

Choose a reason for hiding this comment

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

👍

@marcotc marcotc merged commit 1e75d6f into master Jan 8, 2020
@marcotc marcotc deleted the test/faraday-error-lib branch January 8, 2020 17:00
@marcotc marcotc added this to the 0.32.0 milestone Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/testing Involves testing processes (e.g. RSpec) integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants