Skip to content

Commit

Permalink
Fixed checkstyle problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
steverao committed Feb 14, 2024
1 parent bf1c5d6 commit bf9f463
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** TODO add tests for propagationEnabled flag */
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
abstract class AbstractRocketMqClientTest {

private static final Logger logger = LoggerFactory.getLogger(AbstractRocketMqClientTest.class);

abstract InstrumentationExtension testing();

DefaultMQProducer producer;
Expand Down Expand Up @@ -257,7 +261,7 @@ void testRocketmqProduceAndBatchConsume() throws Exception {
// if messages weren't received as a batch we get 1 trace instead of 2
testing().waitForTraces(1);
testing().clearData();
System.err.println("Messages weren't received as batch, retrying");
logger.error("Messages weren't received as batch, retrying");
}
testing()
.waitAndAssertTraces(
Expand Down

0 comments on commit bf9f463

Please sign in to comment.