diff --git a/src/test/java/org/openrewrite/maven/RewriteCycloneDxIT.java b/src/test/java/org/openrewrite/maven/RewriteCycloneDxIT.java index 0d72931d..5916ae2f 100644 --- a/src/test/java/org/openrewrite/maven/RewriteCycloneDxIT.java +++ b/src/test/java/org/openrewrite/maven/RewriteCycloneDxIT.java @@ -78,7 +78,12 @@ void multi_module_with_independent_modules(MavenExecutionResult result) { .withFile("b-1.0-cyclonedx.xml") .exists(); - assertThat(result).out().warn().isEmpty(); + // ignore Maven POM cache warning, it may appear on some systems + // https://github.com/openrewrite/rewrite-maven-plugin/issues/636 + assertThat(result).out().warn() + .filteredOn(warn -> !"Unable to initialize RocksdbMavenPomCache, falling back to InMemoryMavenPomCache" + .equals(warn)) + .isEmpty(); } @MavenTest