Skip to content

Commit 68b7715

Browse files
authored
Disable failing rocketmq latest dep test (#15512)
1 parent 5fa161b commit 68b7715

File tree

1 file changed

+4
-0
lines changed
  • instrumentation/rocketmq/rocketmq-client/rocketmq-client-4.8/testing/src/main/java/io/opentelemetry/instrumentation/rocketmqclient/v4_8

1 file changed

+4
-0
lines changed

instrumentation/rocketmq/rocketmq-client/rocketmq-client-4.8/testing/src/main/java/io/opentelemetry/instrumentation/rocketmqclient/v4_8/AbstractRocketMqClientTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import org.apache.rocketmq.common.message.Message;
4242
import org.apache.rocketmq.remoting.exception.RemotingException;
4343
import org.junit.jupiter.api.AfterAll;
44+
import org.junit.jupiter.api.Assumptions;
4445
import org.junit.jupiter.api.BeforeAll;
4546
import org.junit.jupiter.api.BeforeEach;
4647
import org.junit.jupiter.api.Test;
@@ -251,6 +252,9 @@ void testRocketmqProduceAndConsume() throws Exception {
251252

252253
@Test
253254
void testRocketmqProduceAndBatchConsume() throws Exception {
255+
// context propagation doesn't work for batch messages in 5.3.4
256+
Assumptions.assumeFalse(Boolean.getBoolean("testLatestDeps"));
257+
254258
consumer.setConsumeMessageBatchMaxSize(2);
255259
// This test assumes that messages are sent and received as a batch. Occasionally it happens
256260
// that the messages are not received as a batch, but one by one. This doesn't match what the

0 commit comments

Comments
 (0)