From a5c3ecf6dec80c1473a36d40067138b55154eccd Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Fri, 15 Sep 2017 17:37:07 -0400 Subject: [PATCH] updated to look for the correct update string --- .../src/it/618-aggregator-update-only/postbuild.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependency-check-maven/src/it/618-aggregator-update-only/postbuild.groovy b/dependency-check-maven/src/it/618-aggregator-update-only/postbuild.groovy index a3aa62c8e..51a922015 100644 --- a/dependency-check-maven/src/it/618-aggregator-update-only/postbuild.groovy +++ b/dependency-check-maven/src/it/618-aggregator-update-only/postbuild.groovy @@ -22,7 +22,7 @@ import org.apache.commons.lang.StringUtils; // Analyse number of "Checking for updates" String log = FileUtils.readFileToString(new File(basedir, "build.log"), Charset.defaultCharset().name()); -int count = StringUtils.countMatches(log, "Checking for updates"); +int count = StringUtils.countMatches(log, "[INFO] Checking for updates"); if (count > 1){ System.out.println(String.format("The update should be unique, it is %s", count)); return false;