Closed marcinbudny closed 9 years ago
The first thing you should try is to use a lower version of MongoDB. We are working with 2.4 and 2.6 versions, so maybe there is some incompatibility between the version of Mongoose and the one of MongoDB. I'll try to check it myself. By the way, what version of Node.js are you using?
Thank you for quick reply. I'll check the lower mongo version as soon as I have some time and will let you know. I have already updated the issue description with node (0.10.25) and npm (1.3.10) versions.
As I mentioned, I also tried to run the tests on Windows. Node version was 0.12.4
The Node version in Ubuntu is the appropriate one. You should stick to 0.10.x for the moment, but that shouldn't be a problem really (some of the IoTAgents we are developing are using 0.12.x; for instance, the Sigfox one). I hope I have some time tomorrow to fix some issues in the agents, and I'll try to reproduce this bug.
Hi Daniel, After downgrading to mongo 2.6.10, the tests pass. Do you plan to support mongo 3 any time soon?
Sorry, I missed this message. It's in the roadmap, but I don't think it will be supported in the short term, as we have some more urgent issues. I will close this issue and open a new one, concerning the support of Mongo 3.
I'm having issues with running tests for the IoT agent library. Here's error description from mocha:
My environment is:
npm install
andnpm install -g grunt
grunt test
The problem is also occuring on Windows.
What might be the problem?