Skip to content

Commit e8fe1c9

Browse files
authored
fix(cli-integ): CI=true test fails when jsii prints to stderr (#672)
JSII doesn't respect the `CI=true` behavior (nor should it), prints to `stderr`, then the test fails. Silence another source of jsii stderr output. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
1 parent 3f83d2c commit e8fe1c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/@aws-cdk-testing/cli-integ/tests/cli-integ-tests/ci-output/cdk-ci-true-output-to-stdout.integtest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@ integTest(
1111
onlyStderr: true,
1212
modEnv: {
1313
CI: 'true',
14+
15+
// Disable all Node.js version warnings
1416
JSII_SILENCE_WARNING_KNOWN_BROKEN_NODE_VERSION: 'true',
1517
JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION: 'true',
1618
JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION: 'true',
19+
20+
// Make sure we don't warn on use of deprecated APIs (that cannot be redirected)
21+
JSII_DEPRECATED: 'quiet',
1722
},
1823
options: ['--no-notices'],
1924
};

0 commit comments

Comments
 (0)