diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java index 5dcd1726bb..422ecf7777 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java @@ -34,6 +34,10 @@ * {@code restorableObjects()} method to return all restorable objects whose state must be tested * for proper serialization. Both methods can return {@code null} if no such object needs to be * tested. + *

+ * This class has not migrated to Junit 5 because downstream libraries, e.g., java-logging, + * are extending this class and these libraries still use Junit 4. + * Migrating this class to Junit 5 will cause test failures in downstream libraries. */ public abstract class BaseSerializationTest { diff --git a/java-core/pom.xml b/java-core/pom.xml index 4b4daa8900..e2dd8a86be 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -37,6 +37,7 @@ pom import + org.junit junit-bom @@ -44,7 +45,6 @@ pom import - com.google.truth truth