Skip to content

Move stray ComponentTests out of src/main/resources and add HeaderUtils tests #1520

Closed

Description

@olegz

ComponentTests.java sits in spring-cloud-function-web/src/main/resources, so it is shipped in the jar but never compiled or run. It should live in src/test. HeaderUtils also has no direct unit tests.

Activity

  1. dhionson2 commented on Nov 18, 2026

    @dhionson2
    Contributor

    Hi! I'd like to work on this issue.

    I'll review the existing test structure, move ComponentTests to the appropriate test source directory, and add unit tests for HeaderUtils.

    I'll make sure the changes follow the project's conventions and that the relevant tests pass before opening a PR.

    Please let me know if there are any specific expectations regarding the implementation.

    Thanks!

  2. olegz commented on Nov 19, 2026

    @olegz
    ContributorAuthor

    @dhionson2 thank you for wanting to work on it.
    Unfortunately this issue and all other task issues are already completed. I just can't merge them since we are under release freeze.

  3. dhionson2 commented on Nov 19, 2026

    @dhionson2
    Contributor

    Thanks for the update, @olegz!

    I had already submitted PR #1522 addressing this issue before seeing your reply.

    Is there an existing implementation for this change, or could my PR still be useful once the release freeze is over?

    Thanks again!

  4. added 2 commits that reference this issue on Nov 21, 2026
  5. added a commit that references this issue on Nov 21, 2026
  6. added this to the 5.1.1 milestone on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions