-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Disabling test for fullDocumentBeforeChange and not supported version of MongoDB #4278
base: main
Are you sure you want to change the base?
Disabling test for fullDocumentBeforeChange and not supported version of MongoDB #4278
Conversation
Merge changes
… 6.0 - disabling failing JUnit
… 6.0 - disabling failing JUnit
Please spend some time describing the problem here since the current arrangement does not seem to cause any trouble. |
Try to run tests using MongoDB version which is not supporting fullDocumentBeforeChange field (<6.0) - JUnit is failing. It would be good to cleanup (remove it) but for now I've disabled it. |
works as expected for |
I'll provide error logs today evening or tomorrow (for version 4.X) |
MongoDB server version: 4.2.32023-01-19 21:34:36,528 ERROR rContainer$DecoratingLoggingErrorHandler: 282 - Unexpected error occurred while listening to MongoDB Documentation: On drivers it was introduced on version 4.7 on which full support for MongoDB 6.0 was added: https://www.mongodb.com/docs/drivers/java/sync/current/whats-new/#std-label-version-4.7.0 |
I see, so instead of disabling the test |
Correct, if it's working somehow for version 5 even if Mongo is supporting this field from version 6. I'll update PR today. |
Field fullDocumentBeforeChange on $changeStream introduced on version 6.0, disabling failing JUnit.