Add a test to cover Distributor pruning feature

To test if distributor can prune, we add an event to storage and
then delete the waiting task from storage to simulate it being
started by another node. We then assert that the project task
gets pruned from the work queue by the time the next distribution
cycle completes.

Change-Id: Ifeed8444986be03bddf443fed94170c8ee5ae72c
1 file changed
tree: ed5fea6d93e61a5254ad4a13f2449961c96bb0a5
  1. .gitignore
  2. .mailmap
  3. .settings/
  4. BUILD
  5. LICENSE
  6. src/