Skip to content

Commit 2ff93c8

Browse files
danbevrichardlau
authored andcommitted
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: #38373 PR-URL: #38451 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 67ea715 commit 2ff93c8

20 files changed

+61
-0
lines changed

test/benchmark/test-benchmark-crypto.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ if (!common.hasCrypto)
88
if (common.hasFipsCrypto)
99
common.skip('some benchmarks are FIPS-incompatible');
1010

11+
if (common.hasOpenSSL3) {
12+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
13+
}
14+
1115
const runBenchmark = require('../common/benchmark');
1216

1317
runBenchmark('crypto', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

test/parallel/test-crypto-async-sign-verify.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const common = require('../common');
33
if (!common.hasCrypto)
44
common.skip('missing crypto');
55

6+
if (common.hasOpenSSL3)
7+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
8+
69
const assert = require('assert');
710
const util = require('util');
811
const crypto = require('crypto');

test/parallel/test-crypto-dh-stateless.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const common = require('../common');
33
if (!common.hasCrypto)
44
common.skip('missing crypto');
55

6+
if (common.hasOpenSSL3)
7+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
8+
69
const assert = require('assert');
710
const crypto = require('crypto');
811

test/parallel/test-crypto-key-objects.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const common = require('../common');
44
if (!common.hasCrypto)
55
common.skip('missing crypto');
66

7+
if (common.hasOpenSSL3)
8+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
9+
710
const assert = require('assert');
811
const {
912
createCipheriv,

test/parallel/test-crypto-keygen.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const common = require('../common');
44
if (!common.hasCrypto)
55
common.skip('missing crypto');
66

7+
if (common.hasOpenSSL3)
8+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
9+
710
const assert = require('assert');
811
const {
912
constants,

test/parallel/test-crypto-rsa-dsa.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const common = require('../common');
33
if (!common.hasCrypto)
44
common.skip('missing crypto');
55

6+
if (common.hasOpenSSL3)
7+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
8+
69
const assert = require('assert');
710
const crypto = require('crypto');
811

test/parallel/test-crypto-sign-verify.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const common = require('../common');
33
if (!common.hasCrypto)
44
common.skip('missing crypto');
55

6+
if (common.hasOpenSSL3)
7+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
8+
69
const assert = require('assert');
710
const fs = require('fs');
811
const path = require('path');

test/parallel/test-webcrypto-derivebits-ecdh.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle, getRandomValues } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-derivebits-node-dh.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-derivekey-ecdh.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle, getRandomValues } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-encrypt-decrypt-rsa.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-export-import-dsa.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-export-import-ec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-export-import-rsa.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-export-import.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle, getRandomValues } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-rsa-pss-params.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const {
912
createPrivateKey,
1013
createPublicKey,

test/parallel/test-webcrypto-sign-verify-ecdsa.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-sign-verify-node-dsa.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-sign-verify-rsa.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

test/parallel/test-webcrypto-wrap-unwrap.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77

8+
if (common.hasOpenSSL3)
9+
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');
10+
811
const assert = require('assert');
912
const { subtle } = require('crypto').webcrypto;
1013

0 commit comments

Comments
 (0)