Skip to content

Commit

Permalink
test(sessions): enabling session leak tests for operation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
daprahamian committed Feb 27, 2018
1 parent 04e6ef6 commit 8a26081
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions test/functional/operation_example_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -3170,8 +3170,7 @@ describe('Operation Examples', function() {
*/
it('shouldCorrectlyRenameCollection', {
metadata: {
requires: { topology: ['single', 'replicaset', 'sharded', 'ssl', 'heap', 'wiredtiger'] },
sessions: { skipLeakTests: true }
requires: { topology: ['single', 'replicaset', 'sharded', 'ssl', 'heap', 'wiredtiger'] }
},

// The actual test we wish to run
Expand Down
3 changes: 1 addition & 2 deletions test/functional/operation_generators_example_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -2337,8 +2337,7 @@ describe('Operation (Generators)', function() {
*/
it('shouldCorrectlyRenameCollectionWithGenerators', {
metadata: {
requires: { generators: true, topology: ['single'] },
sessions: { skipLeakTests: true }
requires: { generators: true, topology: ['single'] }
},

// The actual test we wish to run
Expand Down
3 changes: 1 addition & 2 deletions test/functional/operation_promises_example_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -2432,8 +2432,7 @@ describe('Operation (Promises)', function() {
*/
it('shouldCorrectlyRenameCollectionWithPromises', {
metadata: {
requires: { promises: true, topology: ['single'] },
sessions: { skipLeakTests: true }
requires: { promises: true, topology: ['single'] }
},

// The actual test we wish to run
Expand Down

0 comments on commit 8a26081

Please sign in to comment.