}
finally
{
- getManagedRepositoriesService( authorizationHeader ).deleteManagedRepository( managedRepository.getId(),
- true );
+ cleanQuietlyRepo( managedRepository.getId() );
}
}
}
finally
{
- getManagedRepositoriesService( authorizationHeader ).deleteManagedRepository( managedRepository.getId(),
- true );
+ cleanQuietlyRepo( managedRepository.getId() );
+ }
+ }
+
+ protected void cleanQuietlyRepo( String id )
+ {
+ try
+ {
+ getManagedRepositoriesService( authorizationHeader ).deleteManagedRepository( id, true );
+ }
+ catch ( Exception e )
+ {
+ log.info( "ignore issue deleting test repo: {}", e.getMessage() );
}
}