-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Is redis mandatory for testing ? #6508
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
Comments
It shouldn't be. There is only one test suite using redis. And the If you don't have it set. It shouldn't throw an error. Can you try debugging this? |
I installed it, but still got plenty of errors on Windows. |
@oallouch What errors are you seeing? |
When I do "npm run test", it starts (mostly) ok, but when it gets to MongoStorageAdapter, it gives me :
even if my local mongo gets filled with many Collections I think I did something stupid, but don't know what. |
Ok, I was missing some code updated. Now the error message is clearer. It can't find the mongodb version it needs using mongodb-version-list at the page http://dl.mongodb.org/dl/src/ . |
@dplewis The problem was cross-env. On Windows it doesn't handles variables well by default, and when I change the npm shell as adviced, it's even worse. Many tests fail, but I runs. |
I'm closing this as it does not seem to be a Parse Server but rather an environment-specific issue. For help with Parse Server, here are some resources you can try:
Feel free to comment if you have any questions and we can re-open this issue. |
Hi,
I'm on Windows and I'd like to run a single test (eg: ReadPreferenceOption.spec.js).
As specified in CONTRIBUTING.md , I used VS Code (I usually code on Webstorm) and installed Jasmine Test Explorer.
The env var PARSE_SERVER_TEST_CACHE isn't set.
But I get an error as it tries to connect to a localRedis on port 6379.
I am doing somethiing wrong ? I know you don't have many contributors (if any) on Windows.
Thx in advance,
Olivier Allouch
The text was updated successfully, but these errors were encountered: