Skip to content

Commit acd16ca

Browse files
committed
Update test
1 parent dae1607 commit acd16ca

File tree

1 file changed

+7
-6
lines changed
  • java-client/src/test/java/co/elastic/clients/elasticsearch/end_to_end

1 file changed

+7
-6
lines changed

java-client/src/test/java/co/elastic/clients/elasticsearch/end_to_end/RequestTest.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626
import co.elastic.clients.base.Transport;
2727
import co.elastic.clients.elasticsearch.ElasticsearchAsyncClient;
2828
import co.elastic.clients.elasticsearch.ElasticsearchClient;
29-
import co.elastic.clients.elasticsearch._core.BulkResponse;
30-
import co.elastic.clients.elasticsearch._core.IndexResponse;
31-
import co.elastic.clients.elasticsearch._core.SearchResponse;
32-
import co.elastic.clients.elasticsearch._core.bulk.ResponseItem;
29+
import co.elastic.clients.elasticsearch.core.BulkResponse;
30+
import co.elastic.clients.elasticsearch.core.GetResponse;
31+
import co.elastic.clients.elasticsearch.core.IndexResponse;
32+
import co.elastic.clients.elasticsearch.core.SearchResponse;
33+
import co.elastic.clients.elasticsearch.core.bulk.ResponseItem;
3334
import co.elastic.clients.elasticsearch.cat.NodesResponse;
3435
import co.elastic.clients.elasticsearch.indices.CreateIndexResponse;
3536
import co.elastic.clients.elasticsearch.indices.GetIndexResponse;
@@ -253,7 +254,7 @@ public void testRefresh() throws IOException {
253254
assertFalse(exists.value());
254255

255256
try {
256-
co.elastic.clients.elasticsearch._core.GetResponse<String> response = client.get(
257+
GetResponse<String> response = client.get(
257258
_0 -> _0.index("doesnotexist").id("reallynot"), String.class
258259
);
259260
} catch(ApiException apie) {
@@ -264,7 +265,7 @@ public void testRefresh() throws IOException {
264265

265266
try {
266267
ElasticsearchAsyncClient aClient = new ElasticsearchAsyncClient(transport);
267-
co.elastic.clients.elasticsearch._core.GetResponse<String> response = aClient.get(
268+
GetResponse<String> response = aClient.get(
268269
_0 -> _0.index("doesnotexist").id("reallynot"), String.class
269270
).get();
270271
} catch(ExecutionException ee) {

0 commit comments

Comments
 (0)