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

test: use test-only resource monitor in overload manager integration test #13135

Merged
merged 4 commits into from
Sep 21, 2020

Conversation

akonradi
Copy link
Contributor

Commit Message: remove overload manager integration test dependence on injected_resource monitor
Additional Description:
Remove the dependence on the injected_resource build target target that
can be disabled via the extension system.
Risk Level: low
Testing: ran integration test
Docs Changes: none
Release Notes: none

Remove the dependence on the injected_resource build target target that
can be disabled.

Signed-off-by: Alex Konradi <[email protected]>
Fix the issue identified by the formatter by registering the factory
using InjectFactory instead of static registration.

Signed-off-by: Alex Konradi <[email protected]>
Copy link
Contributor

@antoniovicente antoniovicente left a comment

Choose a reason for hiding this comment

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

Thanks for helping minimize the number of core test dependencies on extensions.

Change looks pretty good, just some minor nits.

test/integration/overload_integration_test.cc Outdated Show resolved Hide resolved
test/integration/overload_integration_test.cc Outdated Show resolved Hide resolved
test/integration/overload_integration_test.cc Outdated Show resolved Hide resolved
More asserts, less conditional behavior, inline member with one usage

Signed-off-by: Alex Konradi <[email protected]>
@antoniovicente antoniovicente merged commit 7aec38f into envoyproxy:master Sep 21, 2020
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