Adds a WaitGroup and associated logic so that BadgerBuilder queries wait until the indexes have caught up. This also means we can eliminate the Sleep() calls in the test, since it's now based on work being done rather than arbitrary times (other than the short built-in delay to get around Luigi not having a "queue empty" query system).
Adds a
WaitGroup
and associated logic so thatBadgerBuilder
queries wait until the indexes have caught up. This also means we can eliminate theSleep()
calls in the test, since it's now based on work being done rather than arbitrary times (other than the short built-in delay to get around Luigi not having a "queue empty" query system).Fixes #266