ChangeIndexer#reindexAfterIndexUpdate -> autoReindexIfStale

The name is confusingly similar to ReindexAfterUpdate, even though they
are completely different pieces of functionality with different goals.

Change-Id: I806f4061997bcc4644c3dcbf84937c68041c6059
This commit is contained in:
Dave Borowitz
2017-04-17 16:45:51 -04:00
parent aeccf371c0
commit 4e2d339e2f
3 changed files with 14 additions and 14 deletions

View File

@@ -517,7 +517,7 @@ public class GetRelatedIT extends AbstractDaemonTest {
}
@Test
@GerritConfig(name = "index.testReindexAfterUpdate", value = "false")
@GerritConfig(name = "index.testAutoReindexIfStale", value = "false")
public void getRelatedForStaleChange() throws Exception {
RevCommit c1_1 = commitBuilder().add("a.txt", "1").message("subject: 1").create();

View File

@@ -120,7 +120,7 @@ public class ChangeRebuilderIT extends AbstractDaemonTest {
// unintentional auto-rebuilding of the change in NoteDb during the read
// path of the reindex-if-stale check. For the purposes of this test, we
// want precise control over when auto-rebuilding happens.
cfg.setBoolean("index", null, "testReindexAfterUpdate", false);
cfg.setBoolean("index", null, "testAutoReindexIfStale", false);
return cfg;
}