christkv/node-mongodb-native — Issue #451: connection pool test failing on Ubuntu
Author: aheckmann
Created: 2011-12-17 13:44:28+00:00
State: open

all js tests pass (using make test_nodeunit_pure) but `make test` does not.

```
> node -v
node 0.6.5
> make test

...

multiple_dbs_on_connection_pool_test.js
✔ shouldCorrectlyUseSameConnectionsForTwoDifferentDbs

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot call method 'createCollection' of null
at /home/aaron/test/node-mongodb-native/test/multiple_dbs_on_connection_pool_test.js:156:12
at /home/aaron/test/node-mongodb-native/lib/mongodb/db.js:158:16
at [object Object]. (/home/aaron/test/node-mongodb-native/lib/mongodb/connection/server.js:309:7)
at [object Object].emit (events.js:67:17)
at [object Object]. (/home/aaron/test/node-mongodb-native/lib/mongodb/connection/connection_pool.js:99:15)
at [object Object].emit (events.js:70:17)
at Socket. (/home/aaron/test/node-mongodb-native/lib/mongodb/connection/connection.js:405:10)
at Socket.emit (events.js:67:17)
at Array.0 (net.js:313:25)
at EventEmitter._tickCallback (node.js:192:40)
make: *** [test] Error 1