Skip to content

Update Specs to latest#2001

Merged
nhachicha merged 11 commits into
mongodb:mainfrom
rozza:worktree-specs
Jul 3, 2026
Merged

Update Specs to latest#2001
nhachicha merged 11 commits into
mongodb:mainfrom
rozza:worktree-specs

Conversation

@rozza

@rozza rozza commented Jun 16, 2026

Copy link
Copy Markdown
Member

Replaces #2000 - has the necessary skips for pending work.

rozza added 3 commits June 16, 2026 11:00
Specs commit 2a6fa820 (DRIVERS-3274) changed the unified transaction tests to
assert that afterClusterTime is sent on writes in causally-consistent sessions.
The Java driver does not implement this yet, so skip the five affected tests.
Specs commit e675eff9 (DRIVERS-2944) added an opmsg-not-supported test that
asserts isClientError: false for connection-closed errors during initial hello.
Skip pending Java driver implementation tracked in JAVA-6088.
@rozza rozza marked this pull request as ready for review June 17, 2026 08:27
@rozza rozza requested a review from a team as a code owner June 17, 2026 08:27
@rozza rozza requested a review from strogiyotec June 17, 2026 08:27
@rozza

rozza commented Jun 17, 2026

Copy link
Copy Markdown
Member Author

The remaining failed tests are covered by DRIVERS-3547 spec changes.

rozza and others added 8 commits June 18, 2026 11:12
…r >= 9.0

Case 2 of the Explicit Encryption prose tests inserts with contentionFactor 10
but encryptedFields.json configures the encryptedIndexed field with contention 0.
Servers >= 9.0 reject this mismatch (SERVER-91887). Skip on those servers until
the spec prose test is corrected (DRIVERS-3547).
The expected change stream timeout-refresh behaviour is unspecified on server
9.0+ (DRIVERS-3006), so the client-side-operations-timeout suite fails there,
most visibly on sharded clusters where extra mongos round-trips exceed the tight
timeoutMS. Skip the suite on 9.0+ until the spec is clarified.
Server 9.0+ blocks the deprecated substringPreview query type strings at
collection creation (SERVER-129158), failing the QE-Text-substringPreview
unified tests. Skip them on 9.0+ (DRIVERS-3555).
Includes DRIVERS-3555 (mongodb#1960, gate substringPreview to server <9.0) and
DRIVERS-3540 (mongodb#1957, add QE GA "substring" tests).
The spec now gates QE-Text-substringPreview to server <9.0 via runOnRequirements
(DRIVERS-3555, mongodb#1960), so the manual JAVA-6245 skip is redundant and removed.
The new QE GA "substring" tests (DRIVERS-3540, mongodb#1957) run on 9.0+ but the driver
does not yet implement the "substring" query type (JAVA-6244), so skip them.
@nhachicha

Copy link
Copy Markdown
Collaborator
  • Bumped the specs submodule to latest (d4d0cdf2) and added version-gated test skips for issues that only fail on server 9.0+ (latest variant)

  • Blocking tickets (fail only on 9.0+, pass on released servers):
    JAVA-6237 — CSFLE explicit-encryption "non-zero contention"
    JAVA-6078 — CSOT change-stream timeout
    JAVA-6244 — QE GA substring query type (new tests from DRIVERS-3540) not yet implemented
    Note: substringPreview no longer needs a driver skip — the spec now gates it to <9.0

@nhachicha nhachicha self-assigned this Jul 3, 2026
@nhachicha nhachicha merged commit aad04d1 into mongodb:main Jul 3, 2026
53 checks passed
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.

3 participants