mirror of https://github.com/apache/maven.git
Fix the MavenITmng7470ResolverTransportTest (#161)
The test must be forked, as it fails to work in embedded mode, as loggers seems already inited
This commit is contained in:
parent
1c034e2b65
commit
6c2ba8602e
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue