-
Notifications
You must be signed in to change notification settings - Fork 4
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
Restful Booking crashing mongodb-community on osx #5
Comments
I'm wondering if there is a requirement for specific versions of mongodb and/or node I noticed that I had to downgrade node to 18.18.0 to get restful booker to start |
I downgraded mongodb-community to 4.4 and the service stopped crashing when Restful Booker called it. Currently I have: At this point I can get the service up and running but 7 out of 10 tests fail with the connection to mongodb failing I was hoping setting this up on OSX would be relatively straightforward. |
This is making more sense now that I'm getting my brain wrapped around it. Playback files are also going to affect this. While mongodb does a good job of being backwards compatible I initially tried jumping (unknowingly) from 4.something (I'm guessing) version playback to 8.0 The oldest version of mongodb that Homebrew supports is 4.4.1 |
Thanks for investigating this and sharing what you've learnt! I wouldn't have thought the recorded files in the tests would actually change very much if you upgrade mongodb and the driver. The files in the repo are fairly simple json. The part that might be sensitive to it is in dbtext (https://github.com/texttest/dbtext) which has all the code to get data in and out of mongodb. That code is in Python and uses the 'pymongo' module. I think it's more likely to matter what version of that you use. |
I'm trying to setup restful booker and run the texttests using the with tests branch.
I have a brand new brew install of mongodb-community
I've built and started restful booker using node 18.18.0
Restful booker starts.
I'm able to navigate to the api docs
When I try to execute a command mongodb service crashes.
Note: I get that this might have nothing to do with restful booking and may purely be a mongodb setup on osx
The text was updated successfully, but these errors were encountered: