public void recoveryOnDeletedIndex() throws Exception
{
GraphDatabaseService db = newGraphDbService();
db.index().forNodes( "index" );
db.shutdown();
<BUG>Process process = Runtime.getRuntime().exec( new String[]{
"java", "-cp", System.getProperty( "java.class.path" ),
AddThenDeleteInAnotherTxAndQuit.class.getName(), getDbPath().getPath()

} );</BUG>
assertEquals( 0, new ProcessStreamHandler( process, false ).waitForResult() );

public void recoveryOnDeletedIndex() throws Exception
{
GraphDatabaseService db = newGraphDbService();
db.index().forNodes( "index" );
db.shutdown();
Process process = runJava(AddThenDeleteInAnotherTxAndQuit.class, getDbPath().getPath());
assertEquals( 0, new ProcessStreamHandler( process, false ).waitForResult() );
