File tree 1 file changed +4
-1
lines changed
java-client/src/test/java/co/elastic/clients/elasticsearch/model
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 27
27
import co .elastic .clients .elasticsearch .core .SearchRequest ;
28
28
import co .elastic .clients .elasticsearch .core .SearchResponse ;
29
29
import co .elastic .clients .testkit .ModelTestCase ;
30
+ import org .junit .Ignore ;
31
+ import org .junit .jupiter .api .Disabled ;
30
32
import org .junit .jupiter .api .Test ;
31
33
32
34
import java .io .IOException ;
@@ -80,10 +82,11 @@ public void arrayOverloads() {
80
82
}
81
83
82
84
@ Test
85
+ @ Disabled ("just need to compile" )
83
86
public void voidClassTDocumentOverload () throws IOException {
84
87
// no need for a complete instance of the client,
85
88
// 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" ) );
87
90
88
91
SearchResponse <Void > resp = client .search (s -> s ,Void .class );
89
92
SearchResponse <Void > respDefault = client .search (s -> s );
You can’t perform that action at this time.
0 commit comments