AbsaOSS / enceladus

Dynamic Conformance Engine
Apache License 2.0
30 stars 14 forks source link

Integration test failing with MongoDB 4.4 #2125

Closed miroslavpojer closed 2 years ago

miroslavpojer commented 2 years ago

Describe the bug

The method db.collection.listIndexes() no longer returns the namespace ns field in the index specification documents.

To Reproduce

Steps to reproduce the behavior OR commands run:

  1. Run integration test with MongoDB 4.4

Bug description is valid for Integration tests:

Expected behavior

Tests will pass.

Additional context

Link to MongoDB change documentation with described behavior change.

dk1844 commented 2 years ago

This is a definitely valid find attempting to use MongoDB 4.4+ with the current develop. The current codebase is written with MongoDB 4.0 in mind.

Considering that some of our on-premise environments are MongoDB-4.0-based, how do we want to proceed?

Maybe would make sense to target more recent Mongo (maybe even v5 or v6) for the future branches (develop-spark-3 already featuring Scala 2.12, Spark3, and Hadoop3)?

@benedeki @Zejnilovic