}
public void testMaxChunks()
throws Exception
{
IndexPackingRequest request = new IndexPackingRequest( context, indexPackDir );
request.setCreateIncrementalChunks( true );
request.setMaxIndexChunks( 3 );
packer.packIndex( request );
copyRepoContentsAndReindex( new File( getBasedir(), "src/test/nexus-1911/repo-inc-1" ), request );
copyRepoContentsAndReindex( new File( getBasedir(), "src/test/nexus-1911/repo-inc-2" ), request );
copyRepoContentsAndReindex( new File( getBasedir(), "src/test/nexus-1911/repo-inc-3" ), request );