Created
May 14, 2014 02:40
-
-
Save jhs/4115cac3800e7d14b193 to your computer and use it in GitHub Desktop.
node-replicator test run
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
$ ./node_modules/.bin/mocha test/test.js | |
Generating pems for testing secure peers... | |
․․․ | |
0 passing (4s) | |
3 failing | |
1) sanity tests add data to db0 and expect it exists on db1 and db2 after t seconds: | |
Error: timeout of 2000ms exceeded | |
at null.<anonymous> (/Users/jhs/src/level-replicator/node_modules/mocha/lib/runnable.js:175:14) | |
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15) | |
2) sanity tests replicate between multiple servers (secure peers): | |
Error: timeout of 2000ms exceeded | |
at null.<anonymous> (/Users/jhs/src/level-replicator/node_modules/mocha/lib/runnable.js:175:14) | |
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15) | |
3) sanity tests replicate between multiple servers (one peer with bad credentials): | |
Error: EEXIST, file already exists '/Users/jhs/src/level-replicator/test/data' | |
at Object.fs.mkdirSync (fs.js:642:18) | |
at Context.<anonymous> (/Users/jhs/src/level-replicator/test/test.js:209:8) | |
at Test.Runnable.run (/Users/jhs/src/level-replicator/node_modules/mocha/lib/runnable.js:204:15) | |
at Runner.runTest (/Users/jhs/src/level-replicator/node_modules/mocha/lib/runner.js:374:10) | |
at /Users/jhs/src/level-replicator/node_modules/mocha/lib/runner.js:452:12 | |
at next (/Users/jhs/src/level-replicator/node_modules/mocha/lib/runner.js:299:14) | |
at /Users/jhs/src/level-replicator/node_modules/mocha/lib/runner.js:309:7 | |
at next (/Users/jhs/src/level-replicator/node_modules/mocha/lib/runner.js:247:23) | |
at Object._onImmediate (/Users/jhs/src/level-replicator/node_modules/mocha/lib/runner.js:276:5) | |
at processImmediate [as _immediateCallback] (timers.js:330:15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment