fixup! Add a test to cover Distributor pruning feature The createBranch method used earlier doesn't create actual replication task, fix it to create branch using GerritApi instead. Change-Id: I9be784572d17521d329452f81fed224a69f9cddc