Skip to content

Fix Checkstyle SnippetLength Suppressions in HLRC ITs #53921

@original-brownbear

Description

@original-brownbear

We have this checkstyle snippet length check in place but it (it's multi-line regex) produces stack overflows here and there so we excluded it for a large number number of these ITs rendering the check somewhat pointless.

see excludes at: https://github.com/elastic/elasticsearch/blob/master/buildSrc/src/main/resources/checkstyle_suppressions.xml#L28

We should fix the regex to not overflow and remove these exclusions.

Relates #53840

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/BuildBuild or test infrastructure>testIssues or PRs that are addressing/adding testsTeam:DeliveryMeta label for Delivery team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions