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

Commit a9fbae2

Browse files
malexandertmbroadst
authored andcommitted
fix(mocha_server_tests): rename confusing variable to fix tests
NODE-1096
1 parent b916d29 commit a9fbae2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/mocha_tests/mocha_server_tests.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,13 @@ describe('Server tests', function() {
287287

288288
it('should correctly recover with multiple restarts', {
289289
metadata: {
290-
requires: { topology: ['single'] },
291-
ignore: { travis: true }
290+
requires: { topology: ['single'] }
292291
},
293292

294293
// The actual test we wish to run
295294
test: function(done) {
295+
this.timeout(0);
296+
296297
var self = this;
297298
var testDone = false;
298299

@@ -349,7 +350,7 @@ describe('Server tests', function() {
349350

350351
var restartServer = function() {
351352
if (count === 0) {
352-
done = true;
353+
testDone = true;
353354
return;
354355
}
355356

0 commit comments

Comments
 (0)