Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiJuWu committed Nov 23, 2024
1 parent c6bbb34 commit bcd46cf
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
import org.apache.kafka.common.serialization.StringDeserializer;
import org.apache.kafka.common.serialization.StringSerializer;
import org.apache.kafka.common.test.api.ClusterConfig;
import org.apache.kafka.common.test.api.ClusterConfigProperty;
import org.apache.kafka.common.test.api.ClusterInstance;
import org.apache.kafka.common.test.api.ClusterTemplate;
import org.apache.kafka.common.test.api.ClusterTest;
Expand Down Expand Up @@ -1352,9 +1353,12 @@ public void testDescribeDoesNotFailWhenListingReassignmentIsUnauthorized(Cluster
adminClient.close();
}

@ClusterTest
@ClusterTest(
serverProperties = {
@ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1")
}
)
public void testDiffCompressionProdcueSend(ClusterInstance clusterInstance) throws InterruptedException, ExecutionException {
clusterInstance.waitForReadyBrokers();
clusterInstance.createTopic("test", 1, (short) 1);
clusterInstance.createTopic("topic", 1, (short) 1);
Map<String, Object> producerProps = new HashMap<>();
Expand Down

0 comments on commit bcd46cf

Please sign in to comment.