Skip to content

Commit 8340770

Browse files
tbranyenJohn Haley
authored andcommitted
Crank up the timeout
1 parent 4cb8968 commit 8340770

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

install.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ var which = require("which");
1010
var rimraf = require("rimraf");
1111
var NODE_VERSION = Number(process.version.match(/^v(\d+\.\d+)/)[1]);
1212

13+
// If the build only flag is set
14+
var buildOnly = process.argv.indexOf("--build-only") > -1;
15+
16+
if (buildOnly) {
17+
console.log("buildOnly");
18+
return;
19+
}
20+
1321
// This will take in an object and find any matching keys in the environment
1422
// to use as overrides.
1523
//

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, opts, callback) {
77
});
88

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

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

test/tests/revwalk.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ describe("Revwalk", function() {
106106
}
107107
});
108108
});
109+
}).then(function() {
110+
global.gc();
109111
});
110112
});
111113

0 commit comments

Comments
 (0)