Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
fix(mocha_server_tests): rename confusing variable to fix tests
Browse files Browse the repository at this point in the history
NODE-1096
  • Loading branch information
malexandert authored and mbroadst committed Aug 11, 2017
1 parent b916d29 commit a9fbae2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/mocha_tests/mocha_server_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,13 @@ describe('Server tests', function() {

it('should correctly recover with multiple restarts', {
metadata: {
requires: { topology: ['single'] },
ignore: { travis: true }
requires: { topology: ['single'] }
},

// The actual test we wish to run
test: function(done) {
this.timeout(0);

var self = this;
var testDone = false;

Expand Down Expand Up @@ -349,7 +350,7 @@ describe('Server tests', function() {

var restartServer = function() {
if (count === 0) {
done = true;
testDone = true;
return;
}

Expand Down

0 comments on commit a9fbae2

Please sign in to comment.