Skip to content

Commit

Permalink
Fix format issue (#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtirado authored Feb 17, 2025
1 parent 9675f4e commit b94e4b5
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 b94e4b5

Please sign in to comment.