Skip to content

test(mongodb-schema): remove timeout workaround from mongodb-schema integration test COMPASS-10911 - #847

Merged
dudaschar merged 1 commit into
mainfrom
COMPASS-10911-revert-test
Jul 31, 2026
Merged

test(mongodb-schema): remove timeout workaround from mongodb-schema integration test COMPASS-10911#847
dudaschar merged 1 commit into
mainfrom
COMPASS-10911-revert-test

Conversation

@dudaschar

@dudaschar dudaschar commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Description

Revert attempt to workaround flaky test as it didn't help.

When we moved mongodb-schema to this monorepo, as part of js-yaml migration for compass, the integration tests started to fail in a non-consistent way. Another ticket was open to investigate the issue later on.

Open Questions

Checklist

Copilot AI review requested due to automatic review settings July 31, 2026 12:34
@dudaschar dudaschar self-assigned this Jul 31, 2026
@dudaschar
dudaschar requested a review from gribnoysup July 31, 2026 12:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Ready to approve

The change is a narrow, test-only revert that matches the stated intent and does not introduce functional code risk.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Removes a previously added Mocha timeout override in the mongodb-schema integration test suite, reverting an attempted workaround for test flakiness that did not improve stability.

Changes:

  • Removed the this.timeout(30_000) override from the “With a MongoDB Cluster” integration test suite, falling back to the repo’s standard Mocha timeout configuration.
File summaries
File Description
packages/mongodb-schema/test/integration/generate-and-validate.test.ts Removes the suite-level Mocha timeout workaround from the MongoDB cluster integration tests.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@dudaschar
dudaschar enabled auto-merge (squash) July 31, 2026 13:24
@alenakhineika

Copy link
Copy Markdown
Collaborator

Is it a correct Jira ticket in the title? Maybe the description should be more detailed to understand how those are related.

@dudaschar

Copy link
Copy Markdown
Collaborator Author

Is it a correct Jira ticket in the title? Maybe the description should be more detailed to understand how those are related.

This is all part of the js-yaml bump for compass. It's been a side quest 😅

@dudaschar
dudaschar merged commit e9ae63f into main Jul 31, 2026
57 of 62 checks passed
@dudaschar
dudaschar deleted the COMPASS-10911-revert-test branch July 31, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants