Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Mar 10, 2025

No description provided.

@rjernst rjernst added >test Issues or PRs that are addressing/adding tests v9.1.0 :Core/Infra/Entitlements Entitlements infrastructure labels Mar 10, 2025
@rjernst rjernst requested a review from a team as a code owner March 10, 2025 13:53
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Mar 10, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Contributor

@prdoyle prdoyle left a comment

Choose a reason for hiding this comment

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

I don't know the motivation, but this change seems uncontroversial, and I can confirm it doesn't change what's being tested.

@rjernst
Copy link
Member Author

rjernst commented Mar 10, 2025

I don't know the motivation

The original using Map.of created a hashmap which had inconsistent ordering, which then can fail the exclusive test because the order of the exception message (the two components/modules that want to have exclusive access).

@rjernst rjernst enabled auto-merge (squash) March 10, 2025 14:17
@rjernst rjernst disabled auto-merge March 10, 2025 14:34
@rjernst rjernst changed the title Use a consistent ordering in policy manager exclulsive tests Ignore ordering in policy manager exclulsive tests Mar 10, 2025
@rjernst rjernst merged commit 3149640 into elastic:main Mar 10, 2025
17 checks passed
@rjernst rjernst deleted the entitlements/test_exclusive_consistent branch March 10, 2025 16:46
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Mar 11, 2025
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Entitlements Entitlements infrastructure Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants