Skip to content

Commit cdf8491

Browse files
committed
Fix tests
1 parent 438291e commit cdf8491

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

spring-boot-3-demo-app-reactive/src/test/java/io/github/mfvanek/spring/boot3/reactive/ApplicationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.junit.jupiter.api.Test;
1919
import org.springframework.beans.factory.annotation.Autowired;
2020
import org.springframework.context.ApplicationContext;
21-
import org.springframework.dao.DataAccessResourceFailureException;
2221
import org.springframework.dao.QueryTimeoutException;
2322

2423
import java.util.Locale;

spring-boot-3-demo-app-reactive/src/test/java/io/github/mfvanek/spring/boot3/reactive/controllers/TimeControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ void spanShouldBeReportedInLogs(@Nonnull final CapturedOutput output) throws Int
8989
assertThat(traceId).isNotBlank();
9090
assertThat(result.getResponseBody()).isCloseTo(LocalDateTime.now(clock).minusDays(1), within(1, ChronoUnit.MINUTES));
9191
assertThat(output.getAll())
92-
.contains("Called method getNow. TraceId = " + traceId);
93-
//.contains("Awaiting acknowledgement from Kafka");
92+
.contains("Called method getNow. TraceId = " + traceId)
93+
.contains("Awaiting acknowledgement from Kafka");
9494

9595
final ConsumerRecord<UUID, String> received = consumerRecords.poll(10, TimeUnit.SECONDS);
9696
assertThat(received).isNotNull();

0 commit comments

Comments
 (0)