question: public void test_journal_oneIndexNoData ( ) throws IOException , InterruptedException , ExecutionException { final File out = File . createTempFile ( getName ( ) , Options . JNL ) ; try { final Journal src = getStore ( getProperties ( ) ) ; try { final String NAME = "testIndex" ; src . registerIndex ( new IndexMetadata ( NAME , UUID . randomUUID ( ) ) ) ; src . commit ( ) ; final Future < Journal > f = src . compact ( out ) ; final Journal newJournal = f . get ( ) ; try { assertNotNull ( newJournal . getIndex ( NAME ) ) ; AbstractBTreeTestCase . assertSameBTree ( src . getIndex ( NAME ) , newJournal . getIndex ( NAME ) ) ; } finally { newJournal . destroy ( ) ; } } finally { src . destroy ( ) ; } } finally { out . delete ( ) ; } }
target:  Test of a journal on which a single index has been register (and the journal committed) but no data was written onto the index.