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
This commit is contained in:
@@ -57,6 +57,8 @@ public class ElasticV6QueryChangesTest extends AbstractQueryChangesTest {
|
|||||||
|
|
||||||
@After
|
@After
|
||||||
public void closeIndex() {
|
public void closeIndex() {
|
||||||
|
// Close the index after each test to prevent exceeding Elasticsearch's
|
||||||
|
// shard limit (see Issue 10120).
|
||||||
client.execute(
|
client.execute(
|
||||||
new HttpPost(
|
new HttpPost(
|
||||||
String.format(
|
String.format(
|
||||||
|
|||||||
@@ -57,6 +57,8 @@ public class ElasticV7QueryChangesTest extends AbstractQueryChangesTest {
|
|||||||
|
|
||||||
@After
|
@After
|
||||||
public void closeIndex() {
|
public void closeIndex() {
|
||||||
|
// Close the index after each test to prevent exceeding Elasticsearch's
|
||||||
|
// shard limit (see Issue 10120).
|
||||||
client.execute(
|
client.execute(
|
||||||
new HttpPost(
|
new HttpPost(
|
||||||
String.format(
|
String.format(
|
||||||
|
|||||||
Reference in New Issue
Block a user