mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
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.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
@ -317,11 +316,7 @@ public class RecoveryPercolatorTests extends AbstractNodesTests {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
XContentBuilder doc = null;
|
||||
try {
|
||||
doc = jsonBuilder().startObject().field("field", "a").endObject();
|
||||
} catch (IOException e) {}
|
||||
|
||||
XContentBuilder doc = jsonBuilder().startObject().field("field", "a").endObject();
|
||||
while (run.get()) {
|
||||
NodesInfoResponse nodesInfoResponse = client.admin().cluster().prepareNodesInfo()
|
||||
.execute().actionGet();
|
||||
|
Loading…
x
Reference in New Issue
Block a user