You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/11/12 22:32:02 UTC

[maven-integration-testing] branch master updated: [MNG-6584] new detailed message

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new ee183c7  [MNG-6584] new detailed message
ee183c7 is described below

commit ee183c7cc62d6e96ec444968ea312dfb4922eaa0
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue Nov 12 23:31:58 2019 +0100

    [MNG-6584] new detailed message
---
 .../it/MavenITmng2741PluginMetadataResolutionErrorMessageTest.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2741PluginMetadataResolutionErrorMessageTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2741PluginMetadataResolutionErrorMessageTest.java
index 60ba113..ae9e169 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2741PluginMetadataResolutionErrorMessageTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2741PluginMetadataResolutionErrorMessageTest.java
@@ -90,7 +90,11 @@ public class MavenITmng2741PluginMetadataResolutionErrorMessageTest
                     foundCause = true;
                     break;
                 }
-
+                if ( line.matches( ".*Transfer failed for http://localhost:54312/repo/.*/maven-metadata.xml.*" ) )
+                {
+                    foundCause = true;
+                    break;
+                }
             }
             assertTrue( "Transfer error cause was not found : " +  sb.toString(), foundCause );
         }