Finish removing obsolete getRelatedByAncestors cfg usage in GetRelatedIT

Change-Id: I25fd50df0830a23e765aaeacde760721ac702fb2
This commit is contained in:
Marco Miller
2016-01-21 15:27:17 -05:00
parent 1804db24f9
commit 829f29ebcb

View File

@@ -571,10 +571,8 @@ public class GetRelatedIT extends AbstractDaemonTest {
db.patchSets().update(ImmutableList.of(ps1_1));
indexer.index(changeDataFactory.create(db, psId1_1.getParentKey()));
if (!cfg.getBoolean("change", null, "getRelatedByAncestors", false)) {
// PS1,1 has no groups, so disappeared from related changes.
assertRelated(psId2_1);
}
// PS1,1 has no groups, so disappeared from related changes.
assertRelated(psId2_1);
RevCommit c2_2 = testRepo.amend(c2_1)
.add("c.txt", "2")