Convert tests to `com.sun.net.httpserver` by basil · Pull Request #394 · jenkinsci/github-plugin
When testing this plugin against EE 10, I found the same test-only (not production) issues in GitHubServerConfigIntegrationTest as I did when testing this plugin against EE 9. Rather than continue to adapt this test for every EE version, this PR removes any references to Jetty or Jakarta EE from the test, making the test less fragile. In their place, we substitute references to standard Java Platform functionality.
Testing done
mvn clean verify with Java 21
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