Skip to content

Commit

Permalink
[TEMP] Temporary for debugging in CI with openssl 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Mar 6, 2025
1 parent defdb2f commit 0f7222f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/parallel/test-crypto-fips.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ function testHelper(stream, args, expectedOutput, cmd, env) {
assert.notStrictEqual(response.length, 0);
if (FIPS_ENABLED !== expectedOutput && FIPS_DISABLED !== expectedOutput) {
// In the case of expected errors just look for a substring.
try {

Check failure on line 52 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 6 spaces but found 0
assert.ok(response.includes(expectedOutput));

Check failure on line 53 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 8 spaces but found 6
} catch (err) {

Check failure on line 54 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 6 spaces but found 0
// Temporary for debugging in CI

Check failure on line 55 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 8 spaces but found 2
console.log('Actual', err.message);

Check failure on line 56 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 8 spaces but found 2
console.log('Exepcted', expectedOutput);

Check failure on line 57 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 8 spaces but found 2
throw err;

Check failure on line 58 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 8 spaces but found 2
}

Check failure on line 59 in test/parallel/test-crypto-fips.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Expected indentation of 6 spaces but found 0
} else {
const getFipsValue = Number(response);
if (!Number.isNaN(getFipsValue))
Expand Down

0 comments on commit 0f7222f

Please sign in to comment.