Created
December 5, 2011 23:38
-
-
Save seebees/1435932 to your computer and use it in GitHub Desktop.
bouncy Failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\proxy\node_modules\bouncy\test>for %i in (raw_destroy.js, ws.js, keep_alive_leak.js) do node %i > fail.txt | |
result: | |
# destroy the socket during piping | |
ok 1 should be equal | |
not ok 2 Expected to throw | |
--- | |
file: timers.js | |
line: 84 | |
column: 39 | |
stack: | |
- getCaller (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-assert\assert.js:370:17) | |
- Function.assert (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-assert\assert.js:17:16) | |
- Function.throws (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-assert\assert.js:132:28) | |
- Test._testAssert [as throws] (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-test\test.js:86:16) | |
- Object._onTimeout (C:\proxy\node_modules\bouncy\test\raw_destroy.js:29:19) | |
- Timer.ontimeout (timers.js:84:39) | |
found: ~ | |
unique: 1 | |
... | |
1..2 | |
# tests 2 | |
# pass 1 | |
# fail 1 | |
# ws | |
not ok 1 test count != plan | |
--- | |
file: events.js | |
line: 64 | |
column: 17 | |
stack: | |
- getCaller (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-assert\assert.js:370:17) | |
- assert (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-assert\assert.js:17:16) | |
- Function.equal (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-assert\assert.js:158:10) | |
- Test.end (C:\proxy\node_modules\bouncy\node_modules\tap\node_modules\tap-harness\harness.js:109:31) | |
- Connection.<anonymous> (C:\proxy\node_modules\bouncy\test\ws.js:22:15) | |
- Connection.<anonymous> (events.js:64:17) | |
- Connection.emit (C:\proxy\node_modules\bouncy\node_modules\websocket-server\lib\_events.js:15:40) | |
- Connection.<anonymous> (C:\proxy\node_modules\bouncy\node_modules\websocket-server\lib\ws\connection.js:89:18) | |
- Connection.<anonymous> (events.js:70:17) | |
- Connection.emit (C:\proxy\node_modules\bouncy\node_modules\websocket-server\lib\_events.js:15:40) | |
found: 0 | |
wanted: 4 | |
unique: 0 | |
... | |
1..1 | |
# tests 1 | |
# fail 1 | |
# make sure keep-alives don't leak | |
ok 1 should be equal | |
ok 2 should be equal | |
ok 3 should be equal | |
ok 4 should be equal | |
ok 5 should be equal | |
ok 6 (unnamed assert) | |
ok 7 should be equivalent | |
ok 8 should be equivalent | |
ok 9 should be equal | |
ok 10 should be equal | |
ok 11 should be equal | |
ok 12 should be equal | |
ok 13 should be equal | |
ok 14 (unnamed assert) | |
ok 15 should be equivalent | |
ok 16 should be equivalent | |
ok 17 should be equal | |
ok 18 should be equal | |
ok 19 should be equal | |
ok 20 should be equal | |
ok 21 should be equal | |
ok 22 (unnamed assert) | |
ok 23 should be equivalent | |
ok 24 should be equivalent | |
1..24 | |
# tests 24 | |
# pass 24 | |
# ok |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:~/Documents/GITProjects/bouncy$node -v && npm test | |
v0.6.5 | |
> [email protected] test /Users/remery/Documents/GITProjects/bouncy | |
> tap test/*.js | |
ok bounce.js ........................ 3/3 | |
ok chunked.js ....................... 2/2 | |
ok get.js ........................... 3/3 | |
ok https.js ......................... 5/5 | |
ok insert.js .................... 150/150 | |
ok keep_alive.js .................... 2/2 | |
ok keep_alive_leak.js ............. 24/24 | |
ok parse_error.js ................... 1/1 | |
ok port.js .......................... 3/3 | |
ok post.js .......................... 4/4 | |
ok raw_destroy.js ................... 2/2 | |
ok raw_drop.js ...................... 2/2 | |
ok raw_fail.js ...................... 1/1 | |
ok raw_ok.js ........................ 2/2 | |
ok response.js ...................... 4/4 | |
ok route.js ..................... 200/200 | |
not ok ws.js ........................ 0/1 | |
Command: "node" "ws.js" | |
not ok 1 test count != plan | |
--- | |
file: /Users/remery/Documents/GITProjects/bouncy/node_modules/tap/node_modules/tap-harness/harness.js | |
line: 109 | |
column: 31 | |
stack: | |
- getCaller (/Users/remery/Documents/GITProjects/bouncy/node_modules/tap/node_modules/tap-assert/assert.js:370:17) | |
- assert (/Users/remery/Documents/GITProjects/bouncy/node_modules/tap/node_modules/tap-assert/assert.js:17:16) | |
- Function.equal (/Users/remery/Documents/GITProjects/bouncy/node_modules/tap/node_modules/tap-assert/assert.js:158:10) | |
- Test.end (/Users/remery/Documents/GITProjects/bouncy/node_modules/tap/node_modules/tap-harness/harness.js:109:31) | |
- Connection.<anonymous> (/Users/remery/Documents/GITProjects/bouncy/test/ws.js:22:15) | |
- Connection.<anonymous> (events.js:64:17) | |
- Connection.emit (/Users/remery/Documents/GITProjects/bouncy/node_modules/websocket-server/lib/_events.js:15:40) | |
- Connection.<anonymous> (/Users/remery/Documents/GITProjects/bouncy/node_modules/websocket-server/lib/ws/connection.js:89:18) | |
- Connection.<anonymous> (events.js:70:17) | |
- Connection.emit (/Users/remery/Documents/GITProjects/bouncy/node_modules/websocket-server/lib/_events.js:15:40) | |
found: 0 | |
wanted: 4 | |
unique: 0 | |
... | |
1..1 | |
# tests 1 | |
# fail 1 | |
ok x_forwarded_for.js ............... 4/4 | |
ok x_headers.js ..................... 6/6 | |
total ........................... 437/438 | |
not ok | |
npm ERR! [email protected] test: `tap test/*.js` | |
npm ERR! `sh "-c" "tap test/*.js"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] test script. | |
npm ERR! This is most likely a problem with the bouncy package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! tap test/*.js | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls bouncy | |
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/remery/Documents/GITProjects/bouncy | |
npm ERR! node -v v0.6.5 | |
npm ERR! npm -v 1.1.0-alpha-6 | |
npm ERR! code ELIFECYCLE | |
npm ERR! message [email protected] test: `tap test/*.js` | |
npm ERR! message `sh "-c" "tap test/*.js"` failed with 1 | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/remery/Documents/GITProjects/bouncy/npm-debug.log | |
npm not ok | |
remery@remery | |
:~/Documents/GITProjects/bouncy$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment