4142434445464748495051
throws Exception { RepositoriesService service = getRepositoriesService(); try { service.scanRepository( "id", true ); } catch ( ServerWebApplicationException e ) { assertEquals( 403, e.getStatus() ); throw e;
6768697071727374757677
{ Thread.sleep( 500 ); timeout -= 500; } assertTrue( service.scanRepository( repoId, true ) ); } @Test( expected = ServerWebApplicationException.class ) public void deleteArtifactKarmaFailed() throws Exception
4849505152535455565758
7475767778798081828384
{ Thread.sleep( 500 ); timeout -= 500; } assertTrue( service.scanRepository( repoId, true ) ); } @Test ( expected = ServerWebApplicationException.class ) public void deleteArtifactKarmaFailed() throws Exception
7172737475767778798081
{ Thread.sleep( 500 ); timeout -= 500; } assertTrue( service.scanRepository( repoId, true ) ); } protected ManagedRepository getTestManagedRepository() {