You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2023/01/17 08:51:14 UTC

[maven-integration-testing] branch master updated: [MNG-7608] Adjust IT for default transport (#237)

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

cstamas 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 f084c3476 [MNG-7608] Adjust IT for default transport (#237)
f084c3476 is described below

commit f084c3476f7d7767c4e3e857632d29685e2610c4
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Tue Jan 17 09:51:09 2023 +0100

    [MNG-7608] Adjust IT for default transport (#237)
    
    If 3.9 uses native as default as well, there is no need anymore
    to distinguish between 3.9 and 4+.
    
    ---
    
    https://issues.apache.org/jira/browse/MNG-7608
---
 .../apache/maven/it/MavenITmng7470ResolverTransportTest.java  | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java
index da9f49d09..07c84aab9 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java
@@ -13,7 +13,7 @@ import org.junit.jupiter.api.Test;
 
 /**
  * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7470">MNG-7470</a>:
- * check that Maven two bundled transports works as expected.
+ * check that Maven bundled transports work as expected.
  */
 public class MavenITmng7470ResolverTransportTest
         extends AbstractMavenIntegrationTestCase
@@ -105,14 +105,7 @@ public class MavenITmng7470ResolverTransportTest
     public void testResolverTransportDefault()
             throws Exception
     {
-        if ( matchesVersionRange( "[4.0.0-alpha-3,)" ) )
-        {
-            performTest( null, NATIVE_LOG_SNIPPET );
-        }
-        else // [3.9.0,) but not 4, see above and ctor
-        {
-            performTest( null, WAGON_LOG_SNIPPET );
-        }
+        performTest( null, NATIVE_LOG_SNIPPET );
     }
 
     @Test