Small cleanup
This commit is contained in:
parent
35dcdb0b5a
commit
df3922a22a
|
@ -39,7 +39,6 @@ import org.elasticsearch.test.integration.AbstractNodesTests;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.concurrent.CountDownLatch;
|
import java.util.concurrent.CountDownLatch;
|
||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
import java.util.concurrent.atomic.AtomicReference;
|
import java.util.concurrent.atomic.AtomicReference;
|
||||||
|
@ -317,11 +316,7 @@ public class RecoveryPercolatorTests extends AbstractNodesTests {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
XContentBuilder doc = null;
|
XContentBuilder doc = jsonBuilder().startObject().field("field", "a").endObject();
|
||||||
try {
|
|
||||||
doc = jsonBuilder().startObject().field("field", "a").endObject();
|
|
||||||
} catch (IOException e) {}
|
|
||||||
|
|
||||||
while (run.get()) {
|
while (run.get()) {
|
||||||
NodesInfoResponse nodesInfoResponse = client.admin().cluster().prepareNodesInfo()
|
NodesInfoResponse nodesInfoResponse = client.admin().cluster().prepareNodesInfo()
|
||||||
.execute().actionGet();
|
.execute().actionGet();
|
||||||
|
|
Loading…
Reference in New Issue