Skip to content

Commit

Permalink
test(NODE-3777): move csfle to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Feb 9, 2022
1 parent dc29d39 commit 1694bba
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"check:tls": "mocha --config test/manual/mocharc.json test/manual/tls_support.test.js",
"check:ldap": "mocha --config test/manual/mocharc.json test/manual/ldap.test.js",
"check:socks5": "mocha --config test/manual/mocharc.json test/manual/socks5.test.ts",
"check:csfle": "mocha --config test/mocha_mongodb.json test/integration/client-side-encryption",
"check:csfle": "mocha --config test/mocha_mongodb.json test/manual/client-side-encryption",
"check:snappy": "mocha test/unit/assorted/snappy.test.js",
"prepare": "node etc/prepare.js",
"release": "standard-version -i HISTORY.md",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const BSON = require('bson');
const { expect } = require('chai');
const { dropCollection } = require('../shared');
const { dropCollection } = require('../../integration/shared');
const util = require('util');
const fs = require('fs');
const path = require('path');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,15 @@ const metadata = {
// .. code:: javascript

// Mng0NCt4ZHVUYUJCa1kxNkVyNUR1QURhZ2h2UzR2d2RrZzh0cFBwM3R6NmdWMDFBMUN3YkQ5aXRRMkhGRGdQV09wOGVNYUMxT2k3NjZKelhaQmRCZGJkTXVyZG9uSjFk
// TODO: NODE-3927 - these cannot run in lb mode but are not skipping based on metadata.
describe('Client Side Encryption Prose Tests', metadata, function () {
// https://github.com/mochajs/mocha/issues/2456
if (process.env.LOAD_BALANCER || !process.env.CSFLE_KMS_PROVIDERS) {
this.skip();
}
const dataDbName = 'db';
const dataCollName = 'coll';
const dataNamespace = `${dataDbName}.${dataCollName}`;
const keyVaultDbName = 'keyvault';
const keyVaultCollName = 'datakeys';
const keyVaultNamespace = `${keyVaultDbName}.${keyVaultCollName}`;

const shared = require('../shared');
const shared = require('../../integration/shared');
const dropCollection = shared.dropCollection;
const APMEventCollector = shared.APMEventCollector;

Expand Down

0 comments on commit 1694bba

Please sign in to comment.