Skip to content

Commit

Permalink
updated test code
Browse files Browse the repository at this point in the history
  • Loading branch information
davis.jaunzems committed Feb 7, 2019
1 parent a8d3cd0 commit 2b5bfdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_child-pool.js
Expand Up @@ -144,11 +144,11 @@ describe('Child pool', function() {
});

it('should kill child after processing is finished and not retain it', function() {
var processor = __dirname + '/fixtures/fixture_processor_bar.js';
const processor = __dirname + '/fixtures/fixture_processor_bar.js';

pool.setReuseProcesses(false);

return pool.retain(processor).then(function(_child) {
return pool.retain(processor).then(_child => {
expect(_child).to.be.ok;
pool.release(_child);

Expand Down

0 comments on commit 2b5bfdc

Please sign in to comment.