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

Exclude HTMLUnit failing assertion in Jenkins 2.400 and later #72

Conversation

MarkEWaite
Copy link
Contributor

Exclude HTMLUnit failing assertion in Jenkins 2.400 and later

jenkinsci/bom#1959 (comment) explains that the modernization of hetero-list.js has inserted JavaScript that the HTMLUnit JavaScript engine does not understand. That causes the test to fail with an HTTP 500 error when the specific assertion is executed.

Do not execute the failing assertion on Jenkins 2.400 and later. Excluding the failing assertion is a simple short-term workaround for the larger problem that is described by @basil in jenkinsci/jenkins-test-harness#569 (comment)

  • 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

jenkinsci/bom#1959 (comment)
explains that the modernization of hetero-list.js has inserted JavaScript
that the HTMLUnit JavaScript engine does not understand.  That causes
the test to fail with an HTTP 500 error when the specific assertion
is executed.

Do not execute the failing assertion on Jenkins 2.400 and
later.  Excluding the failing assertion is a simple short-term
workaround for the larger problem that is described by @basil in
jenkinsci/jenkins-test-harness#569 (comment)
@MarkEWaite MarkEWaite requested a review from a team as a code owner April 14, 2023 04:52
@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Apr 14, 2023

jenkinsci/jenkins#7845 makes this change unnecessary. Closing this pull request on the assumption that it is better to make the change in Jenkins core and benefit both this plugin and branch-api.

@MarkEWaite MarkEWaite closed this Apr 14, 2023
@MarkEWaite MarkEWaite deleted the fix-library-step-test-configRoundTrip branch April 14, 2023 14:49
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.

1 participant