openzipkin / brave-cassandra

Tracing instrumentation for Cassandra and the DataStax Java Driver
Apache License 2.0
12 stars 14 forks source link

Updates to latest build and latest Brave #47

Closed codefromthecrypt closed 8 months ago

codefromthecrypt commented 8 months ago

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: