Skip to content

Conversation

@martijnvg
Copy link
Member

This change enables security in a number of java/yaml rest tests in logsdb module, additionally logsdb and tsdb rolling upgrade tests.

A recent bug (#128050) wouldn't have happened if logsdb rolling upgrade tests ran with security enabled.

This change enables security in a number of tsdb and logsdb integration tests. A number of java/yaml rest tests in logsdb module, additionally logsdb and tsdb rolling upgrade tests.

A recent bug (elastic#128050) wouldn't have happened if logsdb rolling upgrade tests ran with security enabled.
@martijnvg martijnvg added >test Issues or PRs that are addressing/adding tests test-full-bwc Trigger full BWC version matrix tests :StorageEngine/Logs You know, for Logs labels Jun 4, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)


if (oldVersion.before(Version.fromString("8.18.0"))) {
cluster.jvmArg("-da:org.elasticsearch.index.mapper.DocumentMapper");
cluster.jvmArg("-da:org.elasticsearch.index.mapper.MapperService");
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need these? Maybe add a comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

I just copied this from the other base class. We added that there because an assertion would fail when index was created on older version. This was regarding mode _source meta field mapper, which wouldn't always exist.

@martijnvg martijnvg enabled auto-merge (squash) June 4, 2025 13:16
@martijnvg martijnvg merged commit e23a5e7 into elastic:main Jun 4, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:StorageEngine/Logs You know, for Logs Team:StorageEngine >test Issues or PRs that are addressing/adding tests test-full-bwc Trigger full BWC version matrix tests v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants