From eaf783244f6ac17f429ca75fd64307d5141b3da4 Mon Sep 17 00:00:00 2001 From: Pavlo Shevchenko Date: Thu, 2 Jan 2025 10:21:21 +0100 Subject: [PATCH] Update samples test to check for a new CC warning Signed-off-by: Pavlo Shevchenko --- .../samples/ConfigurationCacheWarningOutputNormalizer.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sample-tests/src/test/groovy/org/gradle/testretry/samples/ConfigurationCacheWarningOutputNormalizer.groovy b/sample-tests/src/test/groovy/org/gradle/testretry/samples/ConfigurationCacheWarningOutputNormalizer.groovy index 9a60ba56..4ba29663 100644 --- a/sample-tests/src/test/groovy/org/gradle/testretry/samples/ConfigurationCacheWarningOutputNormalizer.groovy +++ b/sample-tests/src/test/groovy/org/gradle/testretry/samples/ConfigurationCacheWarningOutputNormalizer.groovy @@ -7,5 +7,7 @@ class ConfigurationCacheWarningOutputNormalizer implements OutputNormalizer { @Override String normalize(String commandOutput, ExecutionMetadata executionMetadata) { return commandOutput.replaceAll(".*Test.getClassLoaderCache\\(\\) method has been deprecated.*\\R", "") + .replaceAll(".*Executing Gradle on JVM versions 16 and lower has been deprecated.*\\R", "") + .replaceAll(".*Problems report is available at.*\\R", "") } }