mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: skip tests for openssl-3.0.0-alpha15
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: https://github.com/nodejs/node/issues/38373 PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
67ea715209
commit
2ff93c8975
20 changed files with 61 additions and 0 deletions
|
@ -8,6 +8,10 @@ if (!common.hasCrypto)
|
||||||
if (common.hasFipsCrypto)
|
if (common.hasFipsCrypto)
|
||||||
common.skip('some benchmarks are FIPS-incompatible');
|
common.skip('some benchmarks are FIPS-incompatible');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3) {
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
}
|
||||||
|
|
||||||
const runBenchmark = require('../common/benchmark');
|
const runBenchmark = require('../common/benchmark');
|
||||||
|
|
||||||
runBenchmark('crypto', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|
runBenchmark('crypto', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|
||||||
|
|
|
@ -3,6 +3,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const util = require('util');
|
const util = require('util');
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
|
|
|
@ -3,6 +3,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const {
|
const {
|
||||||
createCipheriv,
|
createCipheriv,
|
||||||
|
|
|
@ -4,6 +4,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const {
|
const {
|
||||||
constants,
|
constants,
|
||||||
|
|
|
@ -3,6 +3,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle, getRandomValues } = require('crypto').webcrypto;
|
const { subtle, getRandomValues } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle, getRandomValues } = require('crypto').webcrypto;
|
const { subtle, getRandomValues } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle, getRandomValues } = require('crypto').webcrypto;
|
const { subtle, getRandomValues } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const {
|
const {
|
||||||
createPrivateKey,
|
createPrivateKey,
|
||||||
createPublicKey,
|
createPublicKey,
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ const common = require('../common');
|
||||||
if (!common.hasCrypto)
|
if (!common.hasCrypto)
|
||||||
common.skip('missing crypto');
|
common.skip('missing crypto');
|
||||||
|
|
||||||
|
if (common.hasOpenSSL3)
|
||||||
|
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { subtle } = require('crypto').webcrypto;
|
const { subtle } = require('crypto').webcrypto;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue