Fail the integration tests on warnings or errors.#581
Fail the integration tests on warnings or errors.#581mum4k merged 19 commits intoenvoyproxy:masterfrom mum4k:integ-fail-on-warn
Conversation
|
@wjuan-AFK please review and assign back to me once done. |
oschaaf
left a comment
There was a problem hiding this comment.
looks great, just two questions/thoughts.
|
Adding @dubious90 in case he can get to this sooner than @wjuan-AFK. |
|
LGTM |
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Removing all those related to the v2 bootstraps that are no longer present. Signed-off-by: Jakub Sobon <mumak@google.com>
|
@oschaaf please take another look after addressing feedback and merging from master. Sorry about the force push, I have fat-fingered a bad rebase into this branch and had to rewrite history to fix it. Same commits were re-applies as cherry-picks. |
|
@oschaaf please take another look after merging from master. |
|
@oschaaf fyi this PR needs bit more work. Now that we do have a test which verifies we pass with |
Test cases are matched using regular expressions. Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
|
@oschaaf this is ready for another review. We can now specify distinct ignore lists based on the name of the executed test case. The test case that purposefully runs with the deprecated Envoy v2 API is now allowed to log the relevant warnings. |
|
@wjuan-AFK significant changes were made since your last review to allow this to pass tests after #584 was merged in. For your convenience, here is a view that only includes commits related to this change. |
Signed-off-by: Jakub Sobon <mumak@google.com>
oschaaf
left a comment
There was a problem hiding this comment.
Nice, this will be very useful, LGTM
|
LGTM |
Fails the integration tests if any unknown warnings or errors are found in the logs of the Nighthawk test server.
Includes an ignore list that (for now) accepts known warnings found in the logs, the ignore list can have different content per each test case.
Also:
Attributes:docstring section onIntegrationTestBaseinto its class docstring.__init__is just a method and should only have theArgs:section.Fixes #577
Signed-off-by: Jakub Sobon mumak@google.com