neo4j/neo4j — pull request #1367 by chrisvest (2013-10-28 08:38:45+00:00)
Title: Fix flaky shouldNotSnapshotPopulatingIndexes

The test was racing with the population job that was started, because was
initially in a populating state.

The changes introduce a latch, that prevent this population job from completing
before we have taking our snapshot, thus ensuring that the index is indeed
still populating when we take our snapshot.