File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
java-client/src/test/java/co/elastic/clients/elasticsearch/model Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2727import co .elastic .clients .elasticsearch .core .SearchRequest ;
2828import co .elastic .clients .elasticsearch .core .SearchResponse ;
2929import co .elastic .clients .testkit .ModelTestCase ;
30+ import org .junit .Ignore ;
31+ import org .junit .jupiter .api .Disabled ;
3032import org .junit .jupiter .api .Test ;
3133
3234import java .io .IOException ;
@@ -80,10 +82,11 @@ public void arrayOverloads() {
8082 }
8183
8284 @ Test
85+ @ Disabled ("just need to compile" )
8386 public void voidClassTDocumentOverload () throws IOException {
8487 // no need for a complete instance of the client,
8588 // nor testing anything, just checking this compiles
86- ElasticsearchClient client = ElasticsearchClient .of (e -> e );
89+ ElasticsearchClient client = ElasticsearchClient .of (e -> e . host ( "http://localhost:9200" ) );
8790
8891 SearchResponse <Void > resp = client .search (s -> s ,Void .class );
8992 SearchResponse <Void > respDefault = client .search (s -> s );
You can’t perform that action at this time.
0 commit comments