Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez committed Sep 30, 2024
1 parent 32f1ffd commit 4e464cd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.example.pulsar;

import org.apache.pulsar.client.api.PulsarClientException;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
Expand Down Expand Up @@ -36,7 +35,7 @@ class SpringBootPulsarApplicationTests {
private TestListener testListener;

@Test
void consumeMessage() throws PulsarClientException {
void consumeMessage() {
this.pulsarTemplate.send("test", "test-data");

waitAtMost(Duration.ofSeconds(30)).untilAsserted(() -> {
Expand Down

0 comments on commit 4e464cd

Please sign in to comment.