Skip to content

tests: rename addFilter() to prependFilter()#18059

Merged
yanavlasov merged 10 commits intoenvoyproxy:mainfrom
rgs1:rename-add-filter-to-prepend-filter
Sep 11, 2021
Merged

tests: rename addFilter() to prependFilter()#18059
yanavlasov merged 10 commits intoenvoyproxy:mainfrom
rgs1:rename-add-filter-to-prepend-filter

Conversation

@rgs1
Copy link
Copy Markdown
Member

@rgs1 rgs1 commented Sep 9, 2021

To avoid confusion when writing integration tests, make it clear
that filters are prepended.

It's currently an addition not an actual rename, because the rename would
break the envoy-filter-example repo and the ASAN/TSAN tests rely on
that. So I'll get rid of addFilter() after this lands and the example repo
is updated.

Signed-off-by: Raul Gutierrez Segales rgs@pinterest.com

To avoid confusion when writing integration tests, make it clear
that filters are prepended.

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Raul Gutierrez Segales added 2 commits September 9, 2021 19:46
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Fix
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Copy link
Copy Markdown
Member

@rojkov rojkov left a comment

Choose a reason for hiding this comment

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

Thanks! This way it's clearer indeed.

Raul Gutierrez Segales added 6 commits September 10, 2021 10:43
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
We can remove it after this lands and the envoy-filter-example
repo is updated, since we can't update both repos atomically.

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
@zuercher
Copy link
Copy Markdown
Member

/assign-from @envoyproxy/envoy-maintainers

@repokitteh-read-only
Copy link
Copy Markdown

@envoyproxy/envoy-maintainers assignee is @yanavlasov

🐱

Caused by: a #18059 (comment) was created by @zuercher.

see: more, trace.

@yanavlasov yanavlasov merged commit a22cfc3 into envoyproxy:main Sep 11, 2021
@rgs1
Copy link
Copy Markdown
Member Author

rgs1 commented Sep 13, 2021

Counterpart:

envoyproxy/envoy-filter-example#151

rgs1 pushed a commit to rgs1/envoy that referenced this pull request Sep 13, 2021
Follow up to envoyproxy#18059. This can land after:

envoyproxy/envoy-filter-example#151

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
@rgs1 rgs1 mentioned this pull request Sep 13, 2021
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.

4 participants