Skip to content

Commit 1f0a980

Browse files
committed
Run SAC test only on RabbitMQ 3.11 or more
1 parent 8d483c0 commit 1f0a980

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/com/rabbitmq/stream/impl/SuperStreamTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
import com.rabbitmq.stream.EnvironmentBuilder;
2626
import com.rabbitmq.stream.OffsetSpecification;
2727
import com.rabbitmq.stream.Producer;
28+
import com.rabbitmq.stream.impl.TestUtils.BrokerVersion;
29+
import com.rabbitmq.stream.impl.TestUtils.BrokerVersionAtLeast;
2830
import io.netty.channel.EventLoopGroup;
2931
import java.nio.charset.StandardCharsets;
3032
import java.util.HashSet;
@@ -168,6 +170,7 @@ void allMessagesSentWithRoutingKeyRoutingShouldBeThenConsumed() throws Exception
168170
}
169171

170172
@Test
173+
@BrokerVersionAtLeast(BrokerVersion.RABBITMQ_3_11)
171174
void allMessagesForSameUserShouldEndUpInSamePartition() throws Exception {
172175
int messageCount = 10_000 * partitions;
173176
int userCount = 10;

0 commit comments

Comments
 (0)