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

Start throwing by default for excessive service provider use #14608

Merged
merged 3 commits into from
Feb 5, 2019

Conversation

ajcvickers
Copy link
Member

Issue #10236

Most of the changes here are two our tests where we use the internal service provider both as a convenience and to test specific behavior around the caching. The tests have been either:

  • Updated to use an external service provider explicitly
  • Updated to make use of a new option ServiceProviderCachingEnabled, which is on by default, but can be switched off to still use the internal service provider, but not to cache it.
  • Left untouched where the behavior being tested depends on service provider caching.

This means our tests will not hit the error. We have a lot of testing of the general warning-as-error mechanism. Tested the new default throw here manually.

Issue #10236

Most of the changes here are two our tests where we use the internal service provider both as a convenience and to test specific behavior around the caching. The tests have been either:
* Updated to use an external service provider explicitly
* Updated to make use of a new option `ServiceProviderCachingEnabled`, which is on by default, but can be switched off to still use the internal service provider, but not to cache it.
* Left untouched where the behavior being tested depends on service provider caching.

This means our tests will not hit the error. We have a lot of testing of the general warning-as-error mechanism. Tested the new default throw here manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants