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

Updates to latest build and latest Brave #47

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Updates to latest build and latest Brave #47

merged 2 commits into from
Jan 8, 2024

Conversation

codefromthecrypt
Copy link
Member

@codefromthecrypt codefromthecrypt commented Jan 8, 2024

This migrates all tests and fixtures from JUnit 4.x to Jupiter. Notably, this allows use of latest brave 5.18.

After manually converting the build to latest, I began porting by using this command from @TeamModerne, which got surprisingly far despite this being a very complex project.

./mvnw org.openrewrite.maven:rewrite-maven-plugin:run \
  -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-testing-frameworks:LATEST \
  -Drewrite.activeRecipes=org.openrewrite.java.testing.junit5.JUnit4to5Migration

After that, I focused on the following areas which led to conclusion:

  • fix formatting and visibility
  • revert mockwebserver3 upgrade as it introduced classpath incompatibility
  • port internal rules to extensions
  • polish to use testcontainers jupiter

Adrian Cole added 2 commits January 8, 2024 11:45
Signed-off-by: Adrian Cole <[email protected]>
Copy link
Member Author

@codefromthecrypt codefromthecrypt left a comment

Choose a reason for hiding this comment

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

notes

</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
<!-- Matches last zipkin test image (v2.23.7) -->
<version>3.11.9</version>
Copy link
Member Author

Choose a reason for hiding this comment

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

last zipkin test image for cassandra 3.x a separate PR can try 4.x

<junit-jupiter.version>5.7.0</junit-jupiter.version>
<assertj.version>3.18.1</assertj.version>
<testcontainers.version>1.15.1</testcontainers.version>
<cassandra-driver-core.version>3.11.2</cassandra-driver-core.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

last of this driver version

@codefromthecrypt codefromthecrypt marked this pull request as ready for review January 8, 2024 03:58
@codefromthecrypt codefromthecrypt merged commit ebd47ef into master Jan 8, 2024
3 checks passed
@codefromthecrypt codefromthecrypt deleted the bumps branch January 8, 2024 03:58
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