11package io .floci .testcontainers ;
22
33import org .apache .hc .core5 .http .HttpHost ;
4- import org .junit .jupiter .api .* ;
4+ import org .junit .jupiter .api .BeforeAll ;
55import org .junit .jupiter .api .MethodOrderer .OrderAnnotation ;
6+ import org .junit .jupiter .api .Order ;
7+ import org .junit .jupiter .api .Test ;
8+ import org .junit .jupiter .api .TestMethodOrder ;
69import org .opensearch .client .json .jackson .JacksonJsonpMapper ;
710import org .opensearch .client .opensearch ._types .FieldValue ;
811import org .opensearch .client .opensearch ._types .HealthStatus ;
@@ -57,7 +60,6 @@ void shouldDescribeDomain() {
5760
5861 @ Test
5962 @ Order (3 )
60- @ Disabled
6163 void shouldWaitForOpenSearchReady () {
6264 await ().atMost (Duration .ofSeconds (60 ))
6365 .pollInterval (Duration .ofSeconds (2 ))
@@ -75,7 +77,6 @@ void shouldWaitForOpenSearchReady() {
7577
7678 @ Test
7779 @ Order (4 )
78- @ Disabled
7980 void shouldIndexDocument () throws Exception {
8081 try (var dataTransport = createTransport ()) {
8182 var dataClient = new org .opensearch .client .opensearch .OpenSearchClient (dataTransport );
@@ -90,7 +91,6 @@ void shouldIndexDocument() throws Exception {
9091
9192 @ Test
9293 @ Order (5 )
93- @ Disabled
9494 void shouldSearchDocument () throws Exception {
9595 try (var dataTransport = createTransport ()) {
9696 var dataClient = new org .opensearch .client .opensearch .OpenSearchClient (dataTransport );
0 commit comments