FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #895 from nodegit/remove-redundant-remote-timeouts · nodegit/nodegit@65794ff · GitHub

Repository navigation

Commit 65794ff

Browse files
committed
Merge pull request #895 from nodegit/remove-redundant-remote-timeouts
Remove custom redundant timeouts in remote tests
2 parents 5f584e5 + cfb80e8 commit 65794ff

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎test/tests/remote.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ describe("Remote", function() {
180180
});
181181

182182
it("can fetch from a private repository", function() {
183-
this.timeout(15000);
184-
185183
var repo = this.repository;
186184
var remote = Remote.create(repo, "private", privateUrl);
187185
var fetchOptions = {
@@ -208,8 +206,6 @@ describe("Remote", function() {
208206

209207
it("can reject fetching from private repository without valid credentials",
210208
function() {
211-
this.timeout(15000);
212-
213209
var repo = this.repository;
214210
var remote = Remote.create(repo, "private", privateUrl);
215211
var firstPass = true;
@@ -241,9 +237,6 @@ describe("Remote", function() {
241237
});
242238

243239
it("can fetch from all remotes", function() {
244-
// Set a reasonable timeout here for the fetchAll test
245-
this.timeout(15000);
246-
247240
var repository = this.repository;
248241
Remote.create(repository, "test1", url);
249242
Remote.create(repository, "test2", url2);
@@ -261,7 +254,6 @@ describe("Remote", function() {
261254
});
262255

263256
it("will reject if credentials promise rejects", function() {
264-
this.timeout(5000);
265257
var repo = this.repository;
266258
var branch = "should-not-exist";
267259
return Remote.lookup(repo, "origin")
@@ -335,7 +327,6 @@ describe("Remote", function() {
335327
});
336328

337329
it("cannot push to a repository with invalid credentials", function() {
338-
this.timeout(5000);
339330
var repo = this.repository;
340331
var branch = "should-not-exist";
341332
return Remote.lookup(repo, "origin")

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL