assertEquals(ASYNC_REINDEX_VALUE,
store.getRoot().getChildNode(INDEX_DEFINITIONS_NAME)
.getChildNode("foo").getString(ASYNC_PROPERTY_NAME));
// run async second time, there are no changes, should switch to sync
async.run();
assertEquals(null, store.getRoot().getChildNode(INDEX_DEFINITIONS_NAME)
.getChildNode("foo").getString(ASYNC_PROPERTY_NAME));
// add content, it should be indexed synchronously
builder = store.getRoot().builder();