-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(integ): run all CDK integ tests with -v
#10503
Conversation
Now that we suppress output of non-failing tests, it becomes all the more important to have detailed information for failing tests.
Title does not follow the guidelines of Conventional Commits. Please adjust title before merge. |
-v
-v
@@ -178,7 +178,7 @@ export class TestFixture { | |||
} | |||
|
|||
public async cdk(args: string[], options: CdkCliOptions = {}) { | |||
return this.shell(['cdk', ...args], { | |||
return this.shell(['cdk', '-v', ...args], { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rix0rrr To see these logs in the regression suites for the current release this needs to be patched to the previous tests as well..added do-not-merge
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Reverts #10503 We can't actually do this. There are tests that check that the output of the `cdk` command is *exactly* "some value", and adding the logging in breaks the expectation. Revert the `-v` to allow the tests to go back to passing 90% of the time.
Following up on #10503, enabling verbose logging for integ tests. opt out for tests that relies on exact match of the output: * 'cdk synth' - match the output of `synth`. * 'Two ways of shoing the version' - This one is tricker. Since `--version` is implemnted using `.version()` of `yargs` it ignores the `-v` argument, but `version` (no dash) which is our implementation respect it. ``` $cdk version -v CDK toolkit version: 1.63.0 (build 7a68125) .... blah blah ``` vs: ``` $cdk --version -v 1.63.0 (build 7a68125) ``` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Now that we suppress output of non-failing tests, it becomes
all the more important to have detailed information for failing tests.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license