mirror of https://github.com/apache/archiva.git
try to fix CI failures
This commit is contained in:
parent
2132965397
commit
2b4fc98051
|
@ -165,6 +165,12 @@ public class DownloadMergedIndexTest
|
||||||
remoteRepository.setUserName( RedbackRoleConstants.ADMINISTRATOR_ACCOUNT_NAME );
|
remoteRepository.setUserName( RedbackRoleConstants.ADMINISTRATOR_ACCOUNT_NAME );
|
||||||
remoteRepository.setPassword( FakeCreateAdminService.ADMIN_TEST_PWD );
|
remoteRepository.setPassword( FakeCreateAdminService.ADMIN_TEST_PWD );
|
||||||
|
|
||||||
|
|
||||||
|
if (getRemoteRepositoriesService().getRemoteRepository( remoteRepository.getId() ) != null)
|
||||||
|
{
|
||||||
|
getRemoteRepositoriesService().deleteRemoteRepository( remoteRepository.getId() );
|
||||||
|
}
|
||||||
|
|
||||||
getRemoteRepositoriesService().addRemoteRepository( remoteRepository );
|
getRemoteRepositoriesService().addRemoteRepository( remoteRepository );
|
||||||
|
|
||||||
ProxyConnectorService proxyConnectorService = getProxyConnectorService();
|
ProxyConnectorService proxyConnectorService = getProxyConnectorService();
|
||||||
|
|
Loading…
Reference in New Issue