{"action":"created","issue":{"url":"https://api.github.com/repos/hoodiehq/hoodie-plugins-manager/issues/17","labels_url":"https://api.github.com/repos/hoodiehq/hoodie-plugins-manager/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-plugins-manager/issues/17/comments","events_url":"https://api.github.com/repos/hoodiehq/hoodie-plugins-manager/issues/17/events","html_url":"https://github.com/hoodiehq/hoodie-plugins-manager/issues/17","id":56863283,"number":17,"title":"tests fail","user":{"login":"janl","id":11321,"avatar_url":"https://avatars.githubusercontent.com/u/11321?v=3","gravatar_id":"","url":"https://api.github.com/users/janl","html_url":"https://github.com/janl","followers_url":"https://api.github.com/users/janl/followers","following_url":"https://api.github.com/users/janl/following{/other_user}","gists_url":"https://api.github.com/users/janl/gists{/gist_id}","starred_url":"https://api.github.com/users/janl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janl/subscriptions","organizations_url":"https://api.github.com/users/janl/orgs","repos_url":"https://api.github.com/users/janl/repos","events_url":"https://api.github.com/users/janl/events{/privacy}","received_events_url":"https://api.github.com/users/janl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-06T20:25:21Z","updated_at":"2015-02-12T19:13:49Z","closed_at":null,"body":"I’m trying to release a new version but the tests fail, even on older states, even the 0.2.6 release:\r\n\r\n```\r\n> npm test\r\n...\r\n✖ #1 multiple addSource calls\r\n\r\nAssertionError: 3 == 1\r\n    at Object.equal (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/types.js:83:39)\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/test/test-plugin-api.js:468:22\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/hoodie-plugins-api/node_modules/couchr/couchr-node.js:184:32\r\n    at process._tickDomainCallback (node.js:486:13)\r\n\r\nError: Expected 9 assertions, 25 ran\r\n    at test.done (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/types.js:121:25)\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/core.js:218:25\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:168:13\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:131:25\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:165:17\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:463:34\r\n    at MultiCouch.<anonymous> (/Users/jan/Work/hoodie/hoodie-plugins-manager/test/lib/utils.js:30:9)\r\n    at MultiCouch.g (events.js:180:16)\r\n    at MultiCouch.emit (events.js:92:17)\r\n    at MultiCouch.stop (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/multicouch/lib/multicouch.js:126:10)\r\n\r\nError: not_found\r\ndeleted\r\n    at IncomingMessage.<anonymous> (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/hoodie-plugins-api/node_modules/couchr/couchr-node.js:168:35)\r\n    at IncomingMessage.emit (events.js:117:20)\r\n    at _stream_readable.js:944:16\r\n    at process._tickDomainCallback (node.js:486:13)\r\n\r\n✖ #1 multiple addSource calls\r\n\r\nAssertionError: 3 == 1\r\n    at Object.equal (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/types.js:83:39)\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/test/test-plugin-api.js:468:22\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/hoodie-plugins-api/node_modules/couchr/couchr-node.js:184:32\r\n    at process._tickDomainCallback (node.js:486:13)\r\n\r\nError: Expected 9 assertions, 25 ran\r\n    at test.done (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/types.js:121:25)\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/core.js:218:25\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:168:13\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:131:25\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:165:17\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:463:34\r\n    at MultiCouch.<anonymous> (/Users/jan/Work/hoodie/hoodie-plugins-manager/test/lib/utils.js:30:9)\r\n    at MultiCouch.g (events.js:180:16)\r\n    at MultiCouch.emit (events.js:92:17)\r\n    at MultiCouch.stop (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/multicouch/lib/multicouch.js:126:10)\r\n\r\nError: not_found\r\ndeleted\r\n    at IncomingMessage.<anonymous> (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/hoodie-plugins-api/node_modules/couchr/couchr-node.js:168:35)\r\n    at IncomingMessage.emit (events.js:117:20)\r\n    at _stream_readable.js:944:16\r\n    at process._tickDomainCallback (node.js:486:13)\r\n\r\nError: Expected 9 assertions, 27 ran\r\n    at test.done (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/types.js:121:25)\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/lib/core.js:218:25\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:168:13\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:131:25\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:165:17\r\n    at /Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/nodeunit/deps/async.js:463:34\r\n    at MultiCouch.<anonymous> (/Users/jan/Work/hoodie/hoodie-plugins-manager/test/lib/utils.js:30:9)\r\n    at MultiCouch.g (events.js:180:16)\r\n    at MultiCouch.emit (events.js:92:17)\r\n    at MultiCouch.stop (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/multicouch/lib/multicouch.js:126:10)\r\n\r\nError: conflict\r\nDocument update conflict.\r\n    at IncomingMessage.<anonymous> (/Users/jan/Work/hoodie/hoodie-plugins-manager/node_modules/hoodie-plugins-api/node_modules/couchr/couchr-node.js:168:35)\r\n    at IncomingMessage.emit (events.js:117:20)\r\n    at _stream_readable.js:944:16\r\n    at process._tickDomainCallback (node.js:486:13)\r\n\r\n\r\nFAILURES: 8/82 assertions failed (8250ms)\r\n\r\nFAILURES: Undone tests (or their setups/teardowns): \r\n- unprocessed tasks should be handled on addSource\r\n\r\nTo fix this, make sure all tests call test.done()\r\nnpm ERR! Test failed.  See above for more details.\r\nnpm ERR! not ok code 0\r\n```"},"comment":{"url":"https://api.github.com/repos/hoodiehq/hoodie-plugins-manager/issues/comments/74132930","html_url":"https://github.com/hoodiehq/hoodie-plugins-manager/issues/17#issuecomment-74132930","issue_url":"https://api.github.com/repos/hoodiehq/hoodie-plugins-manager/issues/17","id":74132930,"user":{"login":"janl","id":11321,"avatar_url":"https://avatars.githubusercontent.com/u/11321?v=3","gravatar_id":"","url":"https://api.github.com/users/janl","html_url":"https://github.com/janl","followers_url":"https://api.github.com/users/janl/followers","following_url":"https://api.github.com/users/janl/following{/other_user}","gists_url":"https://api.github.com/users/janl/gists{/gist_id}","starred_url":"https://api.github.com/users/janl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janl/subscriptions","organizations_url":"https://api.github.com/users/janl/orgs","repos_url":"https://api.github.com/users/janl/repos","events_url":"https://api.github.com/users/janl/events{/privacy}","received_events_url":"https://api.github.com/users/janl/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T19:13:49Z","updated_at":"2015-02-12T19:13:49Z","body":"same on linux fwiw"}}