Skip to content

test: fix headerMapEqualIgnoreOrder utility missing a check - #19158

Merged
yanavlasov merged 7 commits into
envoyproxy:mainfrom
tangsaidi:fix-header-map-equal-utility-bug
Dec 2, 2021
Merged

yanavlasov merged 7 commits into
envoyproxy:mainfrom
tangsaidi:fix-header-map-equal-utility-bug

Conversation

@tangsaidi

@tangsaidi tangsaidi commented Dec 1, 2021 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Saidi Tang [email protected]

Description: The headerMapEqualIgnoreOrder function didn't check the outcome of the iterate method. We are passing a few tests in cache and ext_proc with incorrect expected values. I fixed the comparison utility and updated the tests accordingly.

Commit Message: Added a flag variable to check whether the iterate function returned after a value mismatch for a key
Risk Level: Low, it's part of the test utility
Testing: Does not apply

Signed-off-by: tangsaidi <[email protected]>
@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #19158 was opened by tangsaidi.

see: more, trace.

@tangsaidi
tangsaidi marked this pull request as ready for review December 1, 2021 16:25
@tangsaidi
tangsaidi requested a review from jmarantz as a code owner December 1, 2021 16:25
@tangsaidi tangsaidi changed the title test: fix headerMapEqualIgnoreOrder utility missing checks test: fix headerMapEqualIgnoreOrder utility missing a check Dec 1, 2021
Signed-off-by: tangsaidi <[email protected]>
Signed-off-by: tangsaidi <[email protected]>
@tangsaidi
tangsaidi requested a review from snowp as a code owner December 1, 2021 21:34
@tangsaidi

Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #19158 (comment) was created by @tangsaidi.

see: more, trace.

@tangsaidi

Copy link
Copy Markdown
Contributor Author

The PR should be ready for a first pass review

@yanavlasov
yanavlasov merged commit 94d0fdd into envoyproxy:main Dec 2, 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.

2 participants