File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
java-client/src/test/java/co/elastic/clients/elasticsearch/end_to_end Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 44
44
import co .elastic .clients .elasticsearch .indices .IndexState ;
45
45
import co .elastic .clients .elasticsearch .model .ModelTestCase ;
46
46
import co .elastic .clients .transport .endpoints .BooleanResponse ;
47
- import co .elastic .clients .util .DateTime ;
48
47
import org .junit .Assert ;
49
48
import org .junit .BeforeClass ;
50
49
import org .junit .Test ;
51
50
52
51
import java .io .IOException ;
53
- import java .time .Instant ;
54
- import java .time .format .DateTimeFormatter ;
55
52
import java .util .Collections ;
56
53
import java .util .Map ;
57
54
import java .util .concurrent .CompletableFuture ;
@@ -73,14 +70,6 @@ public void testCount() throws Exception {
73
70
assertTrue (client .count ().count () >= 0 );
74
71
}
75
72
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
-
84
73
@ Test
85
74
public void testIndexCreation () throws Exception {
86
75
ElasticsearchAsyncClient asyncClient = new ElasticsearchAsyncClient (client ._transport ());
You can’t perform that action at this time.
0 commit comments