Skip to content

Commit bdada69

Browse files
committed
GH-2501: Fix Race in Test
1 parent b4956d4 commit bdada69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/test/java/org/springframework/kafka/annotation/EnableKafkaIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2210,8 +2210,8 @@ public void validatedListener(@Payload @Valid ValidatedClass val) {
22102210
public void projectionListener(ProjectionSample sample) {
22112211
this.username = sample.getUsername();
22122212
this.name = sample.getName();
2213-
this.projectionLatch.countDown();
22142213
this.customThreadName = Thread.currentThread().getName();
2214+
this.projectionLatch.countDown();
22152215
}
22162216

22172217
@KafkaListener(id = "customMethodArgumentResolver", topics = "annotated39")

0 commit comments

Comments
 (0)