Skip to content

[test]added unit test cases for network-layer filter "direct_response"#12064

Merged
zuercher merged 5 commits intoenvoyproxy:masterfrom
jianwen612:direct_response_unit_test
Jul 21, 2020
Merged

[test]added unit test cases for network-layer filter "direct_response"#12064
zuercher merged 5 commits intoenvoyproxy:masterfrom
jianwen612:direct_response_unit_test

Conversation

@jianwen612
Copy link
Contributor

Additional Description:
[see https://github.com//issues/11998]
Added unit test cases for "direct_response".
Removed "direct_response" from test/per_file_coverage.sh

Risk Level:low

Testing:
covered onData() and onNewConnection() method of the filter.
Coverage for this filter is now 100%

[Optional Fixes #Issue] #11998

/cc @asraa
/cc @samkerner

Signed-off-by: jianwen <jianwendong@google.com>
Signed-off-by: jianwen <jianwendong@google.com>
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.

Thanks. Sorry for the slow response, I was out last week.

Signed-off-by: jianwen <jianwendong@google.com>
Signed-off-by: jianwen <jianwendong@google.com>
@zuercher
Copy link
Member

/azp run

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@zuercher
Copy link
Member

@jianwen612 Apparently azure pipelines won't run tests if there's a merge conflict, so you'll have to merge master to get the tests passing.

…nit_test

Signed-off-by: jianwen <jianwendong@google.com>
@jianwen612
Copy link
Contributor Author

jianwen612 commented Jul 21, 2020

@jianwen612 Apparently azure pipelines won't run tests if there's a merge conflict, so you'll have to merge master to get the tests passing.

Merged. Thanks!

@zuercher zuercher merged commit ffd8a6e into envoyproxy:master Jul 21, 2020
KBaichoo pushed a commit to KBaichoo/envoy that referenced this pull request Jul 30, 2020
Added unit test cases for "direct_response".
Removed "direct_response" from test/per_file_coverage.sh

Risk Level:low
Testing: covered onData() and onNewConnection() method of the filter.
Fixes: envoyproxy#11998

Signed-off-by: jianwen <jianwendong@google.com>
Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
scheler pushed a commit to scheler/envoy that referenced this pull request Aug 4, 2020
Added unit test cases for "direct_response".
Removed "direct_response" from test/per_file_coverage.sh

Risk Level:low
Testing: covered onData() and onNewConnection() method of the filter.
Fixes: envoyproxy#11998

Signed-off-by: jianwen <jianwendong@google.com>
Signed-off-by: scheler <santosh.cheler@appdynamics.com>
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