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 url method on test adapter to prevent startup env logs from throwing exception #1131

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

ericmustin
Copy link
Contributor

This PR addresses #1125, in which the startup env logger attempts to record the adapter.url, but in test environments using the Adapters::Test class, this method is not defined, causing an exception to be thrown. While we catch and handle this exception, it's unintended/noisy and causes startup env logs to be lost. This PR adds a stubbed out url method on the test adapter. Long term it make might sense to have all adapters inherit from a base adapter

Copy link
Member

@marcotc marcotc 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 linked an issue Aug 4, 2020 that may be closed by this pull request
@marcotc marcotc added the bug Involves a bug label Aug 4, 2020
@ericmustin ericmustin merged commit 2d1acbb into master Aug 5, 2020
@marcotc marcotc added this to the 0.39.0 milestone Aug 5, 2020
@ivoanjo ivoanjo deleted the 1125_fix_url_testadapter branch July 16, 2021 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Involves a bug
Projects
None yet
2 participants