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 6, 2021
1 parent 67ea715 commit 2ff93c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 2ff93c8

Please sign in to comment.