Skip to content

Commit

Permalink
Fix format issue (apache#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtirado authored and rgdoliveira committed Feb 19, 2025
1 parent c558198 commit be43282
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void cleanUp() {
}

private static JsonPath waitForEvent(KafkaTestClient kafkaClient, String topic, long seconds) throws Exception {
CompletableFuture<String> cloudEvent = new CompletableFuture<>();
CompletableFuture<String> cloudEvent = new CompletableFuture<>();
kafkaClient.consume(topic, cloudEvent::complete);
return new JsonPath(cloudEvent.orTimeout(seconds, TimeUnit.SECONDS).get());
}
Expand Down

0 comments on commit be43282

Please sign in to comment.