Skip to content

Fix auth serialization randomized version test#139182

Merged
jfreden merged 4 commits intoelastic:mainfrom
jfreden:fix_auth_serialization_test
Dec 18, 2025
Merged

Fix auth serialization randomized version test#139182
jfreden merged 4 commits intoelastic:mainfrom
jfreden:fix_auth_serialization_test

Conversation

@jfreden
Copy link
Contributor

@jfreden jfreden commented Dec 8, 2025

Resolves: #139167

@jfreden jfreden requested a review from mark-vieira December 8, 2025 10:11
@jfreden jfreden added >test Issues or PRs that are addressing/adding tests :Security/Security Security issues without another label labels Dec 8, 2025
@elasticsearchmachine elasticsearchmachine added Team:Security Meta label for security team v9.3.0 labels Dec 8, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

Copy link
Contributor

@piotrsulkowski-elastic piotrsulkowski-elastic left a comment

Choose a reason for hiding this comment

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

LGTM, but could you pls explain what should happen in the case when the other node is indeed in the newer version? Should the maybeRewriteForOlderVersion method not just handle that correctly, as it sounds like a normal case to me? (I suppose we just never use it this way, always being guarded by an 'if' checking whether the version to rewrite to is older, just before it's called?)

@jfreden jfreden merged commit 4e91c46 into elastic:main Dec 18, 2025
41 checks passed
szybia added a commit to szybia/elasticsearch that referenced this pull request Dec 19, 2025
* upstream/main: (253 commits)
  Adds ST_SIMPLIFY geo spatial function (elastic#136309)
  Take control of max clause count verification in Lucene searcher (elastic#139752)
  [ML] Unmute Inference Test (elastic#139765)
  Parameterize the vector operation benchmark tests (elastic#139735)
  Fix node reduction pushdown tests for release tests (elastic#139548)
  Fix flakiness in TSDataGenerationHelper (elastic#139759)
  CPS: Copy existing resolved index expressions when constructing a new `SearchRequest` from an existing one (elastic#139596)
  Add release notes for v9.1.9 release (elastic#139674)
  Add lucene query for wildcards on high cardinality keyword fields. (elastic#139746)
  Suppress Tika entitlement warnings from AWT (elastic#139711)
  Check field storage when synthetic source is enabled, in tests (elastic#139715)
  Refactor VectorSimilarityType to know about its corresponding Function (elastic#139678)
  Merge fixes from patch branch back into main (elastic#139721)
  Define native bulk operations for vector square distance (elastic#139198)
  Use LongUpDownCounter for Linked Project Error Metrics (elastic#139657)
  ESQL: Add javadoc that explains version-aware planning (elastic#139706)
  Add helper to pick node for reindex relocation (elastic#139081)
  Fix auth serialization randomized version test (elastic#139182)
  ES|QL - Add parsing, preanalysis and analysis timing information to profile (elastic#139540)
  Mute org.elasticsearch.persistent.ClusterPersistentTasksCustomMetadataTests testMinVersionSerialization elastic#139741
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Security/Security Security issues without another label Team:Security Meta label for security team >test Issues or PRs that are addressing/adding tests v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] AuthenticationTests testMaybeRewriteForOlderVersionWithCrossClusterAccessRewritesAuthenticationInMetadata failing

3 participants