Skip to content

test: use a common test setup function in ext_authz_http_impl_test#43691

Merged
tyxia merged 1 commit into
envoyproxy:mainfrom
pianiststickman:git-better-at-this
Feb 28, 2026
Merged

test: use a common test setup function in ext_authz_http_impl_test#43691
tyxia merged 1 commit into
envoyproxy:mainfrom
pianiststickman:git-better-at-this

Conversation

@pianiststickman
Copy link
Copy Markdown
Contributor

@pianiststickman pianiststickman commented Feb 27, 2026

Commit Message: use a common test setup function in ext_authz_http_impl_test.cc
Additional Description: std::make_shared() is often marked [[nodiscard]], so using it as a statement without checking its value may lead to compilation warnings. createConfig() is already present and conveniently does the right things, so we may as well use it.
Risk Level: none
Testing: ran the test being modified
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Eugene Chan <eugenechan@google.com>
@pianiststickman pianiststickman changed the title test: use common test setup function test: use a common test setup function in ext_authz_http_impl_test Feb 27, 2026
@tyxia tyxia self-assigned this Feb 28, 2026
Copy link
Copy Markdown
Member

@tyxia tyxia left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@tyxia tyxia merged commit 35d515b into envoyproxy:main Feb 28, 2026
29 checks passed
@pianiststickman pianiststickman deleted the git-better-at-this branch February 28, 2026 14:09
bmjask pushed a commit to bmjask/envoy that referenced this pull request Mar 14, 2026
…st (envoyproxy#43691)

Commit Message: use a common test setup function in
ext_authz_http_impl_test.cc
Additional Description: `std::make_shared()` is often marked
`[[nodiscard]]`, so using it as a statement without checking its value
may lead to compilation warnings. `createConfig()` is already present
and conveniently does the right things, so we may as well use it.
Risk Level: none
Testing: ran the test being modified
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Eugene Chan <eugenechan@google.com>
Signed-off-by: bjmask <11672696+bjmask@users.noreply.github.com>
bvandewalle pushed a commit to bvandewalle/envoy that referenced this pull request Mar 17, 2026
…st (envoyproxy#43691)

Commit Message: use a common test setup function in
ext_authz_http_impl_test.cc
Additional Description: `std::make_shared()` is often marked
`[[nodiscard]]`, so using it as a statement without checking its value
may lead to compilation warnings. `createConfig()` is already present
and conveniently does the right things, so we may as well use it.
Risk Level: none
Testing: ran the test being modified
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Eugene Chan <eugenechan@google.com>
fishcakez pushed a commit to fishcakez/envoy that referenced this pull request Mar 25, 2026
…st (envoyproxy#43691)

Commit Message: use a common test setup function in
ext_authz_http_impl_test.cc
Additional Description: `std::make_shared()` is often marked
`[[nodiscard]]`, so using it as a statement without checking its value
may lead to compilation warnings. `createConfig()` is already present
and conveniently does the right things, so we may as well use it.
Risk Level: none
Testing: ran the test being modified
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Eugene Chan <eugenechan@google.com>
krinkinmu pushed a commit to grnmeira/envoy that referenced this pull request Apr 20, 2026
…st (envoyproxy#43691)

Commit Message: use a common test setup function in
ext_authz_http_impl_test.cc
Additional Description: `std::make_shared()` is often marked
`[[nodiscard]]`, so using it as a statement without checking its value
may lead to compilation warnings. `createConfig()` is already present
and conveniently does the right things, so we may as well use it.
Risk Level: none
Testing: ran the test being modified
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Eugene Chan <eugenechan@google.com>
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