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

NIFI-14153 Applied PMD's SimplifiableTestAssertion across the code base and fixed the violations. #9641

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

dan-s1
Copy link
Contributor

@dan-s1 dan-s1 commented Jan 16, 2025

Summary

NIFI-14153

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using mvn clean install -P contrib-check
    • JDK 21

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

@dan-s1
Copy link
Contributor Author

dan-s1 commented Jan 16, 2025

@exceptionfactory Can you please give me insight as to whether the system tests are failing due to some of the changes I made? I am not finding I made actual changes to the integration tests that are failing. Please advise. Thanks!

On Ubuntu Java 21 there are many errors similar to
ITDeleteS3Object.testDeleteFolder:57 Could not invoke methods annotated with @OnScheduled annotation due to: java.lang.reflect.InvocationTargetException. I didn't change ITDeleteS3Object

@exceptionfactory
Copy link
Contributor

The system test failures are related to a recent commit for #9638.

@dan-s1
Copy link
Contributor Author

dan-s1 commented Jan 16, 2025

I do not understand as they passed there though.

@pvillard31
Copy link
Contributor

This is because those tests were not triggered on the other PR due to the limited scope of the changes. I'm addressing this.

@dan-s1
Copy link
Contributor Author

dan-s1 commented Jan 16, 2025

I assume though even with the changes in #9642 changes still must be made to account for the commit in #9638.

@pvillard31
Copy link
Contributor

I believe Mark is working on a fix to complete the merged PR and get all the builds green.

@pvillard31
Copy link
Contributor

@dan-s1 - it should be ok now if you rebase against main

Copy link
Contributor

@exceptionfactory exceptionfactory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dan-s1, this is a helpful improvement for keeping test assertions clear and consistent! +1 merging

@exceptionfactory exceptionfactory merged commit 4ae0a47 into apache:main Jan 17, 2025
9 checks passed
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