Skip to content

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

Merged
antoniovicente merged 4 commits intoenvoyproxy:masterfrom
akonradi:om-integration-test
Sep 21, 2020
Merged

test: use test-only resource monitor in overload manager integration test#13135
antoniovicente merged 4 commits intoenvoyproxy:masterfrom
akonradi:om-integration-test

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 <akonradi@google.com>
Fix the issue identified by the formatter by registering the factory
using InjectFactory instead of static registration.

Signed-off-by: Alex Konradi <akonradi@google.com>
Signed-off-by: Alex Konradi <akonradi@google.com>
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.

More asserts, less conditional behavior, inline member with one usage

Signed-off-by: Alex Konradi <akonradi@google.com>
@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