Skip to content

Commit ee774ad

Browse files
committed
Remove 8.0+ test
1 parent 666ff0c commit ee774ad

File tree

1 file changed

+0
-11
lines changed
  • java-client/src/test/java/co/elastic/clients/elasticsearch/end_to_end

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,11 @@
4444
import co.elastic.clients.elasticsearch.indices.IndexState;
4545
import co.elastic.clients.elasticsearch.model.ModelTestCase;
4646
import co.elastic.clients.transport.endpoints.BooleanResponse;
47-
import co.elastic.clients.util.DateTime;
4847
import org.junit.Assert;
4948
import org.junit.BeforeClass;
5049
import org.junit.Test;
5150

5251
import java.io.IOException;
53-
import java.time.Instant;
54-
import java.time.format.DateTimeFormatter;
5552
import java.util.Collections;
5653
import java.util.Map;
5754
import java.util.concurrent.CompletableFuture;
@@ -73,14 +70,6 @@ public void testCount() throws Exception {
7370
assertTrue(client.count().count() >= 0);
7471
}
7572

76-
@Test
77-
public void testBuildTime() throws Exception {
78-
DateTime buildTime = client.info().version().buildDate();
79-
Instant early2020 = DateTimeFormatter.ISO_INSTANT.parse("2020-01-01T00:00:00Z", Instant::from);
80-
81-
assertTrue(early2020.isBefore(buildTime.toInstant()));
82-
}
83-
8473
@Test
8574
public void testIndexCreation() throws Exception {
8675
ElasticsearchAsyncClient asyncClient = new ElasticsearchAsyncClient(client._transport());

0 commit comments

Comments
 (0)