Skip to content

CI: transaction tests only on specific mongodb version #6826

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

Closed
4 tasks done
mtrezza opened this issue Jul 24, 2020 · 0 comments · Fixed by #6827
Closed
4 tasks done

CI: transaction tests only on specific mongodb version #6826

mtrezza opened this issue Jul 24, 2020 · 0 comments · Fixed by #6827
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Jul 24, 2020

We use GitHub Issues for reporting bugs with Parse Server.

Make sure these boxes are checked before submitting your issue - thanks for reporting issues back to Parse Server!

  • This isn't a vulnerability disclosure, if it is please follow our security policy.

  • You're running version >=2.3.2 of Parse Server, we can't accept issues for very outdated releases, please update to a newer version.

  • This isn't a question, if you need if you have questions about code please use Stack Overflow with the parse-platform tag & other questions can be posted on the community forum.

  • You've searched through existing issues, your issue may have been reported or resolved before.

Issue Description

Tests for MongoDB transactions are only conducted for MongoDB version == 4.0.4:

process.env.MONGODB_VERSION === '4.0.4' &&
process.env.MONGODB_TOPOLOGY === 'replicaset' &&
process.env.MONGODB_STORAGE_ENGINE === 'wiredTiger'

(process.env.MONGODB_VERSION === '4.0.4' &&
process.env.MONGODB_TOPOLOGY === 'replicaset' &&
process.env.MONGODB_STORAGE_ENGINE === 'wiredTiger') ||

(process.env.MONGODB_VERSION === '4.0.4' &&
process.env.MONGODB_TOPOLOGY === 'replicaset' &&
process.env.MONGODB_STORAGE_ENGINE === 'wiredTiger') ||

This is not an issue in the current CI setup, because we are only not testing against MongoDB > 4.0.4, but it will break with the next MondoDB bump, and already breaks for tests that are executed locally against higher versions of MongoDB.

Expected Results

The tests should be enabled for MongoDB version >= 4.0.4.

Environment Setup

  • Server
    • parse-server version (Be specific! Don't say 'latest'.) : 4.3.0
@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant