Skip to content

fuzz: change expect_* to assert in xds_fuzz_test#12567

Merged
asraa merged 5 commits intoenvoyproxy:masterfrom
samflattery:xds_assert
Aug 12, 2020
Merged

fuzz: change expect_* to assert in xds_fuzz_test#12567
asraa merged 5 commits intoenvoyproxy:masterfrom
samflattery:xds_assert

Conversation

@samflattery
Copy link
Copy Markdown
Contributor

@samflattery samflattery commented Aug 10, 2020

Commit Message: Change expect_* to assert in xds_fuzz_test
Additional Description:

  • the EXPECT_EQ / EXPECT_TRUE calls cause errors to be logged but the fuzzer does not crash, meaning discrepancies do not show up on oss-fuzz
  • also, removed the updateRoute() function from the verifier since it is redundant

Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Sam Flattery added 2 commits August 6, 2020 12:29
@samflattery
Copy link
Copy Markdown
Contributor Author

/cc @asraa

Sam Flattery added 2 commits August 10, 2020 14:10
Signed-off-by: Sam Flattery <samflattery@google.com>
Signed-off-by: Sam Flattery <samflattery@google.com>
@asraa asraa self-assigned this Aug 11, 2020
asraa
asraa previously approved these changes Aug 11, 2020
Copy link
Copy Markdown
Contributor

@asraa asraa left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM!

Signed-off-by: Sam Flattery <samflattery@google.com>
@samflattery
Copy link
Copy Markdown
Contributor Author

@asraa forgot to change routeUpdated() in the unit tests, should be good now

Copy link
Copy Markdown
Contributor

@asraa asraa left a comment

Choose a reason for hiding this comment

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

Thanks!

@asraa asraa merged commit 960ad21 into envoyproxy:master Aug 12, 2020
@samflattery samflattery deleted the xds_assert branch August 12, 2020 14:41
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