Skip to content

Conversation

@jfreden
Copy link
Contributor

@jfreden jfreden commented Dec 11, 2024

Fixes: #118311 #118310 #118309

Same issue that was fixed in: #110963

@BeforeClass is executed after the test rules. This means it creates the clusters for all the invalid versions, which sometimes doesnt work.

Change it to a rule which definitely evaluates before the clusters are created. This will also speed up this test in CI.

@jfreden jfreden added >test Issues or PRs that are addressing/adding tests :Security/Security Security issues without another label labels Dec 11, 2024
@elasticsearchmachine elasticsearchmachine added v8.18.0 Team:Security Meta label for security team labels Dec 11, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@slobodanadamovic slobodanadamovic self-requested a review December 12, 2024 08:42
Copy link
Contributor

@slobodanadamovic slobodanadamovic left a comment

Choose a reason for hiding this comment

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

LGTM 👍

It would be nice to add test-full-bwc label, in order to test all supported bwc versions.

@jfreden jfreden added the test-full-bwc Trigger full BWC version matrix tests label Dec 12, 2024
@jfreden jfreden added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Dec 12, 2024
@elasticsearchmachine elasticsearchmachine merged commit 68d38a6 into elastic:8.x Dec 12, 2024
20 checks passed
@jfreden jfreden deleted the fix_intermittent_role_mapping_upgrade branch December 12, 2024 10:15
maxhniebergall pushed a commit to maxhniebergall/elasticsearch that referenced this pull request Dec 16, 2024
…18455)

Fixes: elastic#118311
elastic#118310
elastic#118309

Same issue that was fixed in:
elastic#110963

`@BeforeClass` is executed after the test rules. This means it creates
the clusters for all the invalid versions, which sometimes doesnt work.

Change it to a rule which definitely evaluates before the clusters are
created. This will also speed up this test in CI.
maxhniebergall pushed a commit to maxhniebergall/elasticsearch that referenced this pull request Dec 16, 2024
…18455)

Fixes: elastic#118311
elastic#118310
elastic#118309

Same issue that was fixed in:
elastic#110963

`@BeforeClass` is executed after the test rules. This means it creates
the clusters for all the invalid versions, which sometimes doesnt work.

Change it to a rule which definitely evaluates before the clusters are
created. This will also speed up this test in CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Security/Security Security issues without another label Team:Security Meta label for security team >test Issues or PRs that are addressing/adding tests test-full-bwc Trigger full BWC version matrix tests v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants