chore(compass-e2e-tests): ignore warning about expiresAfterSeconds being non-int COMPASS-10563#7970
Merged
gribnoysup merged 2 commits intomainfrom Apr 17, 2026
Merged
chore(compass-e2e-tests): ignore warning about expiresAfterSeconds being non-int COMPASS-10563#7970gribnoysup merged 2 commits intomainfrom
gribnoysup merged 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Compass E2E test runner global fixtures to tolerate a new MongoDB server warning related to TTL index expireAfterSeconds being converted to an integer, preventing otherwise-successful test runs from failing due to this server-side warning.
Changes:
- Allow server warning
12025301for all started test servers during global setup. - Add inline context referencing SERVER-120253 to document why the warning is ignored.
johnjackweir
approved these changes
Apr 13, 2026
| // expireAfterSeconds to integer in index specs. This is a server-side | ||
| // conversion that happens regardless of the BSON type sent by the client. | ||
| for (const checker of serverLogsCheckers) { | ||
| checker.allowWarning(12025301); |
Collaborator
There was a problem hiding this comment.
if we're confident this is due to the server issue, can we find out which versions have this issue and only ignore for those? the warning itself could be a valid signal for a client problem, so I wouldn't ignore it across the board if possible
Collaborator
Author
There was a problem hiding this comment.
Agreed, I'm fairly confident but limiting to the right server version makes sense to me
gribnoysup
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This new warning doesn't seem worth failing on and I couldn't find a place where we'd pass in a non-int so it must be "stored on disk" as the server ticket mentions.
Checklist
Motivation and Context
Open Questions
Dependents
Types of changes