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 2022/05/16 18:03:08 UTC
[maven-integration-testing] branch fix-it-mng7470 created (now c9d228f56)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a change to branch fix-it-mng7470
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
at c9d228f56 Fix the MavenITmng7470ResolverTransportTest
This branch includes the following new commits:
new c9d228f56 Fix the MavenITmng7470ResolverTransportTest
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven-integration-testing] 01/01: Fix the MavenITmng7470ResolverTransportTest
Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch fix-it-mng7470
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
commit c9d228f5641299ea178b87d5310867e6a6794b26
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon May 16 20:02:16 2022 +0200
Fix the MavenITmng7470ResolverTransportTest
Seems the test must be forked to work in, as it fails to work
in embedded mode.
---
.../java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java | 2 ++
1 file changed, 2 insertions(+)
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 0c4b7973a..1e7a7e014 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
@@ -58,6 +58,8 @@ public class MavenITmng7470ResolverTransportTest
private void performTest( /* nullable */ final String transport, final String logSnippet ) throws Exception
{
Verifier verifier = newVerifier( projectDir.getAbsolutePath() );
+ verifier.setForkJvm( true );
+
Map<String, String> properties = new HashMap<>();
properties.put( "@port@", Integer.toString( port ) );
verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", properties );