Skip to content

RUBY-3744 Assert only latestDefinition.mappings.dynamic in search index prose tests - #3118

Open
comandeo-mongo wants to merge 1 commit into
mongodb:masterfrom
comandeo-mongo:ruby-3744-search-index-prose-tests
Open

comandeo-mongo wants to merge 1 commit into
mongodb:masterfrom
comandeo-mongo:ruby-3744-search-index-prose-tests

Conversation

@comandeo-mongo

Copy link
Copy Markdown
Contributor

Search index prose tests compared the whole latestDefinition document, which fails against Atlas Local because it adds an empty fields map. Assert only latestDefinition.mappings.dynamic, per specs PR #1871, and let ATLAS_URI decide TLS so the tests can run against Atlas Local.

Jira: https://jira.mongodb.org/browse/RUBY-3744

Test plan:

  • bundle exec rubocop spec/integration/search_indexes_prose_spec.rb
  • ATLAS_URI=mongodb://localhost:25017/?directConnection=true bundle exec rspec spec/integration/search_indexes_prose_spec.rb against mongodb/mongodb-atlas-local:latest (5 examples, 0 failures)

@comandeo-mongo comandeo-mongo added tracked-in-jira Ticket filed in Mongo's Jira system bug labels Oct 19, 2026
@comandeo-mongo
comandeo-mongo marked this pull request as ready for review October 20, 2026 16:35
@comandeo-mongo
comandeo-mongo requested a review from a team as a code owner October 20, 2026 16:35
@comandeo-mongo
comandeo-mongo requested a review from jamis October 20, 2026 16:35

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug tracked-in-jira Ticket filed in Mongo's Jira system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants