Skip to content

Commit edc60e1

Browse files
committed
fix: Activated debugging for failing open search tests
1 parent 7e6fe8e commit edc60e1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

testcontainers-floci/src/test/java/io/floci/testcontainers/AbstractFlociContainerServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class AbstractFlociContainerServiceTest {
1818

1919
protected static final int LB_LISTENER_PORT = 8780;
2020

21-
private static final boolean DEBUG_LOGGING = false;
21+
private static final boolean DEBUG_LOGGING = true;
2222

2323
protected static final FlociContainer floci;
2424

testcontainers-floci/src/test/java/io/floci/testcontainers/FlociContainerOpenSearchServiceTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
package io.floci.testcontainers;
22

33
import org.apache.hc.core5.http.HttpHost;
4-
import org.junit.jupiter.api.*;
4+
import org.junit.jupiter.api.BeforeAll;
55
import 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;
69
import org.opensearch.client.json.jackson.JacksonJsonpMapper;
710
import org.opensearch.client.opensearch._types.FieldValue;
811
import 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

Comments
 (0)