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

npm test fails intermittently #2

Open
BryanDonovan opened this issue Dec 17, 2012 · 1 comment
Open

npm test fails intermittently #2

BryanDonovan opened this issue Dec 17, 2012 · 1 comment
Assignees

Comments

@BryanDonovan
Copy link

I get intermittent failures when running npm test.

System info:

MongoDB v2.2.2
node-mongodb v1.2.5 (native version)
Mac OS X v10.6.8
NodeJS 0.8.11

Some example failures:

/private/tmp/node_modules/jugglingdb-mongodb/node_modules/jugglingdb/test/common_test.js:1143
                    test.ok(pp.likes[3].third);
                                       ^
TypeError: Cannot read property 'third' of undefined
AssertionError: '[email protected]' == '[email protected]'
    at Object.assertWrapper [as equal] (/private/tmp/node_modules/jugglingdb-mongodb/node_modules/nodeunit/lib/types.js:83:39)
    at User.all.order (/private/tmp/node_modules/jugglingdb-mongodb/node_modules/jugglingdb/test/common_test.js:950:26)
/private/tmp/node_modules/jugglingdb-mongodb/node_modules/mongodb/lib/mongodb/connection/server.js:484
        throw err;
              ^
Error: No post!
    at Error (unknown source)
    at /private/tmp/node_modules/jugglingdb-mongodb/node_modules/jugglingdb/test/common_test.js:1083:34
@1602
Copy link
Contributor

1602 commented Dec 17, 2012

Thanks, it reproducable on my machine, looks like bad test cases.

On Mon, Dec 17, 2012 at 10:59 PM, Bryan Donovan [email protected]:

I get intermittent failures when running npm test.

System info:

MongoDB 2.2.2
node-mongodb 1.2.5 (native version)

Some example failures:

/private/tmp/node_modules/jugglingdb-mongodb/node_modules/jugglingdb/test/common_test.js:1143
test.ok(pp.likes[3].third);
^
TypeError: Cannot read property 'third' of undefined

AssertionError: '[email protected]' == '[email protected]'
at Object.assertWrapper as equal
at User.all.order (/private/tmp/node_modules/jugglingdb-mongodb/node_modules/jugglingdb/test/common_test.js:950:26)

/private/tmp/node_modules/jugglingdb-mongodb/node_modules/mongodb/lib/mongodb/connection/server.js:484
throw err;
^
Error: No post!
at Error (unknown source)
at /private/tmp/node_modules/jugglingdb-mongodb/node_modules/jugglingdb/test/common_test.js:1083:34


Reply to this email directly or view it on GitHubhttps://github.com/1602/jugglingdb-mongodb/issues/2.

Thanks,
Anatoliy Chakkaev

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

3 participants