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:
@@ -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();
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user