Skip to content

Commit 0f7222f

Browse files
committed
[TEMP] Temporary for debugging in CI with openssl 1.1.1
1 parent defdb2f commit 0f7222f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/parallel/test-crypto-fips.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ function testHelper(stream, args, expectedOutput, cmd, env) {
4949
assert.notStrictEqual(response.length, 0);
5050
if (FIPS_ENABLED !== expectedOutput && FIPS_DISABLED !== expectedOutput) {
5151
// In the case of expected errors just look for a substring.
52+
try {
5253
assert.ok(response.includes(expectedOutput));
54+
} catch (err) {
55+
// Temporary for debugging in CI
56+
console.log('Actual', err.message);
57+
console.log('Exepcted', expectedOutput);
58+
throw err;
59+
}
5360
} else {
5461
const getFipsValue = Number(response);
5562
if (!Number.isNaN(getFipsValue))

0 commit comments

Comments
 (0)