Skip to content

[fuzz] split out the uber filter test class#10249

Merged
mattklein123 merged 4 commits intoenvoyproxy:masterfrom
asraa:uber-filter
Mar 15, 2020
Merged

[fuzz] split out the uber filter test class#10249
mattklein123 merged 4 commits intoenvoyproxy:masterfrom
asraa:uber-filter

Conversation

@asraa
Copy link
Contributor

@asraa asraa commented Mar 4, 2020

Refactor to split out the uber filter test class. Projects depending on Envoy can use the fuzz method of the class with an HttpFilter and HttpData input.

@nareddyt (You might need to do something similar to the post-processor mutation I have to specify the type of the Any to be one of your 4 filters, this helps guide the protobuf mutator).

Testing: no-op
Risk: Low

Signed-off-by: Asra Ali asraa@google.com

asraa added 2 commits March 4, 2020 09:22
Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali <asraa@google.com>
nareddyt
nareddyt previously approved these changes Mar 4, 2020
zuercher
zuercher previously approved these changes Mar 5, 2020
Copy link
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

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

Nice! Looks besides some include pedantry. TIOLI.

@@ -1,153 +1,20 @@
#include <chrono>
#include <memory>
Copy link
Member

Choose a reason for hiding this comment

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

nit: I think you can get rid of these two as well.

@@ -0,0 +1,150 @@
#include <chrono>
Copy link
Member

Choose a reason for hiding this comment

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

nit: don't think this is being used either

Signed-off-by: Asra Ali <asraa@google.com>
@asraa asraa dismissed stale reviews from zuercher and nareddyt via 26e347e March 10, 2020 14:52
Signed-off-by: Asra Ali <asraa@google.com>
@asraa
Copy link
Contributor Author

asraa commented Mar 10, 2020

Sorry this feel off the radar last week -- thank you! Merged master as well

@mattklein123 mattklein123 merged commit b5c9f74 into envoyproxy:master Mar 15, 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.

4 participants