Skip to content

Commit d02b391

Browse files
committed
ignore compile only test
1 parent add5cb9 commit d02b391

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: java-client/src/test/java/co/elastic/clients/elasticsearch/model/OverloadsTest.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
import co.elastic.clients.elasticsearch.core.SearchRequest;
2828
import co.elastic.clients.elasticsearch.core.SearchResponse;
2929
import co.elastic.clients.testkit.ModelTestCase;
30+
import org.junit.Ignore;
31+
import org.junit.jupiter.api.Disabled;
3032
import org.junit.jupiter.api.Test;
3133

3234
import 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);

0 commit comments

Comments
 (0)