Skip to content

Commit 633fe2b

Browse files
committed
Ensure reasonable timeouts for testing in Windows
1 parent 88580ab commit 633fe2b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var exec = promisify(function(command, callback) {
77
});
88

99
before(function(done) {
10-
this.timeout(15000);
10+
this.timeout(150000);
1111

1212
var url = "https://github.com/nodegit/nodegit";
1313
var done = done.bind(null, null);

test/tests/clone.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ describe("Clone", function() {
1515
var Clone = require("../../lib/clone");
1616
var NodeGit = require("../../");
1717

18+
// Set a reasonable timeout here now that our repository has grown.
19+
this.timeout(15000);
20+
1821
before(function() {
1922
return Promise.all([
2023
rimraf(http),

0 commit comments

Comments
 (0)