Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add servlet-api to testCompile scope #238

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rahulsom
Copy link

@rahulsom rahulsom commented Feb 16, 2025

See: #235 (comment)

This adds servlet-api to the testCompile scope to allow compilation of certain types to succeed in test code.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@rahulsom rahulsom force-pushed the add-servlet-api-to-testCompile branch from c257259 to bf712ad Compare February 16, 2025 02:51
@basil
Copy link
Member

basil commented Feb 16, 2025

Check the testHarnessFor method a few lines down. For 2.475+ the latest test harness should be used, which bundles Jetty 12 and EE 9.

@rahulsom rahulsom marked this pull request as ready for review February 16, 2025 03:36
@rahulsom
Copy link
Author

Here's the change to use a newer jenkins-test-harness - rahulsom#8.
It's stacked on this one.

@sghill sghill enabled auto-merge February 16, 2025 05:19
@rahulsom
Copy link
Author

@basil do you know if there's something to tickle on the CI infra to get those two checks to run?

@rahulsom
Copy link
Author

Actually, this might be an @sghill thing. Are the "Required builds" set incorrectly on the repo?

@basil
Copy link
Member

basil commented Feb 16, 2025

I don’t see why this PR would be necessary. The test harness declares all of its transitive dependencies correctly, so including the correct test harness should suffice.

@sghill sghill disabled auto-merge February 16, 2025 19:23
@sghill
Copy link

sghill commented Feb 16, 2025

Are the "Required builds" set incorrectly on the repo?

The two checks will run once #242 is merged and opened PRs are rebased. I updated the default branch recently.

The test harness declares all of its transitive dependencies correctly, so including the correct test harness should suffice.

I'm OK with closing this one out pulling in the test harness (#239) instead. What do you think, @rahulsom?

@rahulsom
Copy link
Author

Let's keep it open until the issue Basil reported is resolved with the other PR.

@rahulsom rahulsom force-pushed the add-servlet-api-to-testCompile branch from bf712ad to 8485e3c Compare February 16, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants