@@ -8,53 +8,6 @@ import {
8
8
} from '../../tools/spec-runner' ;
9
9
import { runUnifiedSuite } from '../../tools/unified-spec-runner/runner' ;
10
10
11
- const isAuthEnabled = process . env . AUTH === 'auth' ;
12
-
13
- // 'TODO: NODE-3891 - fix tests broken when AUTH enabled'
14
- const skippedAuthTests = [
15
- 'Insert a document with auto encryption using the AWS provider with temporary credentials' ,
16
- 'Insert a document with auto encryption using Azure KMS provider' ,
17
- '$rename works if target value has same encryption options' ,
18
- 'Bulk write with encryption' ,
19
- 'Insert with bypassAutoEncryption' ,
20
- 'Insert with bypassAutoEncryption for local schema' ,
21
- 'ping is bypassed' ,
22
- 'deleteOne with deterministic encryption' ,
23
- 'deleteMany with deterministic encryption' ,
24
- 'distinct with deterministic encryption' ,
25
- 'Find with deterministic encryption' ,
26
- 'Find with $in with deterministic encryption' ,
27
- 'findOneAndReplace with deterministic encryption' ,
28
- 'findOneAndUpdate with deterministic encryption' ,
29
- 'Insert a document with auto encryption using GCP KMS provider' ,
30
- 'getMore with encryption' ,
31
- 'unset works with an encrypted field' ,
32
- 'updateOne with deterministic encryption' ,
33
- 'updateMany with deterministic encryption' ,
34
- 'replaceOne with encryption' ,
35
- 'Insert with encryption on a missing key' ,
36
- 'A local schema should override' ,
37
- 'Count with deterministic encryption' ,
38
- 'Insert a document with auto encryption using local KMS provider' ,
39
- 'Insert with encryption using key alt name' ,
40
- 'insertMany with encryption' ,
41
- 'insertOne with encryption' ,
42
- 'findOneAndDelete with deterministic encryption' ,
43
- '$unset works with an encrypted field' ,
44
- 'Insert a document with auto encryption using KMIP KMS provider'
45
- ] ;
46
-
47
- // TODO(NODE-6048): Int32 and Long not allowed as batchSize option to cursor.
48
- const skippedNoAuthTests = [ 'getMore with encryption' ] ;
49
-
50
- const SKIPPED_TESTS = new Set ( [
51
- ...( isAuthEnabled ? skippedAuthTests . concat ( skippedNoAuthTests ) : skippedNoAuthTests ) ,
52
- ...[
53
- // the node driver does not have a mapReduce helper
54
- 'mapReduce deterministic encryption (unsupported)'
55
- ]
56
- ] ) ;
57
-
58
11
describe ( 'Client Side Encryption (Legacy)' , function ( ) {
59
12
const testContext = new TestRunnerContext ( { requiresCSFLE : true } ) ;
60
13
const testSuites = gatherTestSuites (
@@ -70,8 +23,11 @@ describe('Client Side Encryption (Legacy)', function () {
70
23
71
24
generateTopologyTests ( testSuites , testContext , ( test , configuration ) => {
72
25
const { description } = test ;
73
- if ( SKIPPED_TESTS . has ( description ) ) {
74
- return 'Skipped by generic test name skip filter.' ;
26
+ if ( description === 'getMore with encryption' ) {
27
+ return `TODO(NODE-6048): Int32 and Long not allowed as batchSize option to cursor` ;
28
+ }
29
+ if ( description === 'mapReduce deterministic encryption (unsupported)' ) {
30
+ return `the Node driver does not have a mapReduce helper.` ;
75
31
}
76
32
if (
77
33
[
0 commit comments