Skip to content

Commit

Permalink
remove .only and revert test name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed May 23, 2023
1 parent 6a63614 commit a295a3e
Showing 1 changed file with 9 additions and 9 deletions.
Expand Up @@ -102,7 +102,7 @@ const metadata = {
topology: '!load-balanced'
}
};
describe.only('Connection Pool Deadlock Prevention', function () {
describe('Connection Pool Deadlock Prevention', function () {
installNodeDNSWorkaroundHooks();
beforeEach(async function () {
const mongodbClientEncryption = this.configuration.mongodbClientEncryption;
Expand Down Expand Up @@ -157,7 +157,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE1 = { maxPoolSize: 1, bypassAutoEncryption: false, useKeyVaultClient: false };
it(
`Case 1: ${JSON.stringify(CASE1)}`,
'Case 1',
metadata,
deadlockTest(CASE1, clientEncrypted => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(2);
Expand All @@ -181,7 +181,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE2 = { maxPoolSize: 1, bypassAutoEncryption: false, useKeyVaultClient: true };
it(
`Case 2: ${JSON.stringify(CASE2)}`,
'Case 2',
metadata,
deadlockTest(CASE2, (clientEncrypted, clientKeyVault) => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(2);
Expand All @@ -208,7 +208,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE3 = { maxPoolSize: 1, bypassAutoEncryption: true, useKeyVaultClient: false };
it(
`Case 3: ${JSON.stringify(CASE3)}`,
'Case 3',
metadata,
deadlockTest(CASE3, clientEncrypted => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(2);
Expand All @@ -226,7 +226,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE4 = { maxPoolSize: 1, bypassAutoEncryption: true, useKeyVaultClient: true };
it(
`Case 4: ${JSON.stringify(CASE4)}`,
'Case 4',
metadata,
deadlockTest(CASE4, (clientEncrypted, clientKeyVault) => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(1);
Expand All @@ -247,7 +247,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE5 = { maxPoolSize: 0, bypassAutoEncryption: false, useKeyVaultClient: false };
it(
`Case 5: ${JSON.stringify(CASE5)}`,
'Case 5',
metadata,
deadlockTest(CASE5, clientEncrypted => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(1);
Expand All @@ -274,7 +274,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE6 = { maxPoolSize: 0, bypassAutoEncryption: false, useKeyVaultClient: true };
it(
`Case 6: ${JSON.stringify(CASE6)}`,
'Case 6',
metadata,
deadlockTest(CASE6, (clientEncrypted, clientKeyVault) => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(1);
Expand All @@ -301,7 +301,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE7 = { maxPoolSize: 0, bypassAutoEncryption: true, useKeyVaultClient: false };
it(
`Case 7: ${JSON.stringify(CASE7)}`,
'Case 7',
metadata,
deadlockTest(CASE7, clientEncrypted => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(1);
Expand All @@ -319,7 +319,7 @@ describe.only('Connection Pool Deadlock Prevention', function () {

const CASE8 = { maxPoolSize: 0, bypassAutoEncryption: true, useKeyVaultClient: true };
it(
`Case 8: ${JSON.stringify(CASE8)}`,
'Case 8',
metadata,
deadlockTest(CASE8, (clientEncrypted, clientKeyVault) => {
expect(clientEncrypted.clientsCreated, 'Incorrect number of clients created').to.equal(1);
Expand Down

0 comments on commit a295a3e

Please sign in to comment.