Florent, can you best raise that as an GitHub issue? How much data is in your test-database?
What happens if you run the await in a separate tx ? Michael > Am 10.05.2015 um 14:49 schrieb Florent Biville <florent.bivi...@gmail.com>: > > Hi, > > I'm trying to run the following snippet (with Neo4j v2.2.1 / impermanent > graph database): > > try (Transaction tx = graphDB.beginTx()) { > IndexDefinition definition = graphDB.schema() > .indexFor(Labels.ARTIST) > .on("name") > .create(); > > graphDB.schema().awaitIndexOnline(definition, XXX, TimeUnit.MILLISECONDS); > // [...] > } > > > No matter how high I set XXX, an IllegalStateException will always be thrown. > Is this specific to the impermanent graph database? > > Thanks a lot for your help! > Florent > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to neo4j+unsubscr...@googlegroups.com > <mailto:neo4j+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.