Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource test for blocking breaks intermittently on Travis #46

Open
CL0SeY opened this issue Dec 14, 2014 · 0 comments
Open

Resource test for blocking breaks intermittently on Travis #46

CL0SeY opened this issue Dec 14, 2014 · 0 comments
Assignees

Comments

@CL0SeY
Copy link
Collaborator

CL0SeY commented Dec 14, 2014

This test intermittently seems to break on Travis, on both 0.8 and 0.10 of node:

assert.ok(!err);

I've updated the tests file to give the error output in the assert failures so we can see a bit better what's going on.

Failure example: https://travis-ci.org/CL0SeY/npm_lazy/jobs/43973760#L599

  1) resource tests tar resource with granular control when the resource is already fetching, block all pending requests:
     Uncaught 
  AssertionError: Error: URL is not in the npm_lazy cache, and it cannot be fetched (max retries exhausted): http://registry.npmjs.org/remote-valid2
      at onDone (/home/travis/build/CL0SeY/npm_lazy/test/resource.test.js:486:18)
...

Same code, working example: https://travis-ci.org/CL0SeY/npm_lazy/builds/43973879

Looks like it might be a timing related issue - not sure if it's a problem with the tests or the blocking yet.

@CL0SeY CL0SeY self-assigned this Dec 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant