Skip to content

Commit

Permalink
test: skip tests for openssl-3.0.0-alpha15
Browse files Browse the repository at this point in the history
This commit skips some test when OpenSSL 3.0.0-alpha15 is used as there
is an issue that causes them to fail.

This is only a temp solution until there is new OpenSSL release.

Fixes: #38373

PR-URL: #38451
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
danbev authored and richardlau committed May 14, 2021
1 parent db5ee23 commit b51b4fe
Show file tree
Hide file tree
Showing 20 changed files with 61 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/benchmark/test-benchmark-crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ if (!common.hasCrypto)
if (common.hasFipsCrypto)
common.skip('some benchmarks are FIPS-incompatible');

if (common.hasOpenSSL3) {
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
}

const runBenchmark = require('../common/benchmark');

runBenchmark('crypto', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-async-sign-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const util = require('util');
const crypto = require('crypto');
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-dh-stateless.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const crypto = require('crypto');

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-key-objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const {
createCipheriv,
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-keygen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const {
constants,
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-rsa-dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const crypto = require('crypto');

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-sign-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const fs = require('fs');
const path = require('path');
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-derivebits-ecdh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle, getRandomValues } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-derivebits-node-dh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-derivekey-ecdh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle, getRandomValues } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-encrypt-decrypt-rsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import-dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import-ec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import-rsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle, getRandomValues } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-rsa-pss-params.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const {
createPrivateKey,
createPublicKey,
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-sign-verify-ecdsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-sign-verify-node-dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-sign-verify-rsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-wrap-unwrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down

0 comments on commit b51b4fe

Please sign in to comment.