commit | 9d5ccafb294eb3b863585bff2f2fb928c8d17934 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Apr 02 22:35:07 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Apr 02 22:35:07 2020 +0900 |
tree | c0612b075b62cd8541cf4b04e9e8571d82dc3a9c | |
parent | eade1635f3032d4e155738d97e123b27e87af5b8 [diff] |
ElasticV{6,7}QueryChangesTest: Add comment about issue 10120 Add a comment to clarify that the index close operation is done to prevent issue 10120. Change-Id: Id8d5b4e922674404351ac9a5a7a281283485fdb1
diff --git a/javatests/com/google/gerrit/elasticsearch/ElasticV6QueryChangesTest.java b/javatests/com/google/gerrit/elasticsearch/ElasticV6QueryChangesTest.java index f1dcbaf..3f59d30 100644 --- a/javatests/com/google/gerrit/elasticsearch/ElasticV6QueryChangesTest.java +++ b/javatests/com/google/gerrit/elasticsearch/ElasticV6QueryChangesTest.java
@@ -57,6 +57,8 @@ @After public void closeIndex() { + // Close the index after each test to prevent exceeding Elasticsearch's + // shard limit (see Issue 10120). client.execute( new HttpPost( String.format(
diff --git a/javatests/com/google/gerrit/elasticsearch/ElasticV7QueryChangesTest.java b/javatests/com/google/gerrit/elasticsearch/ElasticV7QueryChangesTest.java index 704f2f1..979a7f6 100644 --- a/javatests/com/google/gerrit/elasticsearch/ElasticV7QueryChangesTest.java +++ b/javatests/com/google/gerrit/elasticsearch/ElasticV7QueryChangesTest.java
@@ -57,6 +57,8 @@ @After public void closeIndex() { + // Close the index after each test to prevent exceeding Elasticsearch's + // shard limit (see Issue 10120). client.execute( new HttpPost( String.format(