@Test
public void testIndexDeleteIssue() throws Exception
{
GraphDatabaseService db = newGraphDbService();
db.index().forNodes( "index" );
db.shutdown();
assertEquals( 0, Runtime.getRuntime().exec( new String[] { "java", "-cp", System.getProperty( "java.class.path" ),
AddDeleteQuit.class.getName(), getDbPath() } ).waitFor() );
new EmbeddedGraphDatabase( getDbPath() ).shutdown();