Skip to content

[fuzz] add back fuzzing build macro to CLI#14182

Merged
htuch merged 2 commits intoenvoyproxy:masterfrom
asraa:old-fuzz-issues
Nov 25, 2020
Merged

[fuzz] add back fuzzing build macro to CLI#14182
htuch merged 2 commits intoenvoyproxy:masterfrom
asraa:old-fuzz-issues

Conversation

@asraa
Copy link
Copy Markdown
Contributor

@asraa asraa commented Nov 25, 2020

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

Commit Message: Adds back FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION macro to CLI.
This is the actual fix for #10322, after nocopts was a dead end from RE2 issue google/re2#272.

Now when running real unit tests in fuzzing mode, we ignore the test result since we aren't testing for functionality. (config_impl_test doesn't need to succeed for route_fuzz_test to build).

Risk Level: Low
Testing: Testing fuzz mode fuzzers and regression style fuzzers locally

Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali <asraa@google.com>
Copy link
Copy Markdown
Member

@htuch htuch 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! I think that eventually we want to figure out a way to get these configs out of router config_impl_test without running the test, i.e. just run the config phase. That's a nice-to-have-though.

@htuch htuch merged commit d775afe into envoyproxy:master Nov 25, 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