Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Back-end unit tests failing on local install #825

Closed
jbonacci opened this issue Dec 29, 2011 · 3 comments
Closed

Back-end unit tests failing on local install #825

jbonacci opened this issue Dec 29, 2011 · 3 comments

Comments

@jbonacci
Copy link
Contributor

Performed a simple, local install to my Mac.
Ran the back-end unit tests with the following command:
npm test

Failed at this point in the tests:
tests/verifier-test.js
The "sys" module is now called "util". It should have a similar interface.
·····················································✗·········

generating a valid assertion with new style and removing the last char from it
✗ fails with a nice error
» expected 'failure',
got 'okay' (===) // verifier-test.js:616
✗ Broken » 62 honored ∙ 1 broken (2.846s)
npm ERR! browserid@0.0.1 test: ./scripts/run_all_tests.sh
npm ERR! sh "-c" "./scripts/run_all_tests.sh" failed with 1
npm ERR!
npm ERR! Failed at the browserid@0.0.1 test script.
npm ERR! This is most likely a problem with the browserid package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./scripts/run_all_tests.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls browserid
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "test"
npm ERR! cwd /Users/jbonacci/Git/browserid
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message browserid@0.0.1 test: ./scripts/run_all_tests.sh
npm ERR! message sh "-c" "./scripts/run_all_tests.sh" failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/jbonacci/Git/browserid/npm-debug.log
npm not ok

@benadida
Copy link
Contributor

yes, known heisenbug, ignore for now :)

@jbonacci
Copy link
Contributor Author

Odd. Same simple install to Ubuntu works (same node and npm).

@lloyd
Copy link
Contributor

lloyd commented Jan 5, 2012

duplicate of issue #833

@lloyd lloyd closed this as completed Jan 5, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants