mirror of https://github.com/apache/kafka.git
KAFKA-7484: fix suppression integration tests (#5748)
Reviewers: Guozhang Wang <guozhang@confluent.io>, Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
parent
5e9208fc05
commit
eb8b1c027a
|
@ -75,7 +75,11 @@ import static org.hamcrest.MatcherAssert.assertThat;
|
||||||
@Category({IntegrationTest.class})
|
@Category({IntegrationTest.class})
|
||||||
public class SuppressionDurabilityIntegrationTest {
|
public class SuppressionDurabilityIntegrationTest {
|
||||||
@ClassRule
|
@ClassRule
|
||||||
public static final EmbeddedKafkaCluster CLUSTER = new EmbeddedKafkaCluster(3);
|
public static final EmbeddedKafkaCluster CLUSTER = new EmbeddedKafkaCluster(
|
||||||
|
3,
|
||||||
|
mkProperties(mkMap()),
|
||||||
|
0L
|
||||||
|
);
|
||||||
private static final StringDeserializer STRING_DESERIALIZER = new StringDeserializer();
|
private static final StringDeserializer STRING_DESERIALIZER = new StringDeserializer();
|
||||||
private static final StringSerializer STRING_SERIALIZER = new StringSerializer();
|
private static final StringSerializer STRING_SERIALIZER = new StringSerializer();
|
||||||
private static final Serde<String> STRING_SERDE = Serdes.String();
|
private static final Serde<String> STRING_SERDE = Serdes.String();
|
||||||
|
|
|
@ -75,7 +75,11 @@ import static org.hamcrest.MatcherAssert.assertThat;
|
||||||
@Category({IntegrationTest.class})
|
@Category({IntegrationTest.class})
|
||||||
public class SuppressionIntegrationTest {
|
public class SuppressionIntegrationTest {
|
||||||
@ClassRule
|
@ClassRule
|
||||||
public static final EmbeddedKafkaCluster CLUSTER = new EmbeddedKafkaCluster(1);
|
public static final EmbeddedKafkaCluster CLUSTER = new EmbeddedKafkaCluster(
|
||||||
|
1,
|
||||||
|
mkProperties(mkMap()),
|
||||||
|
0L
|
||||||
|
);
|
||||||
private static final StringDeserializer STRING_DESERIALIZER = new StringDeserializer();
|
private static final StringDeserializer STRING_DESERIALIZER = new StringDeserializer();
|
||||||
private static final StringSerializer STRING_SERIALIZER = new StringSerializer();
|
private static final StringSerializer STRING_SERIALIZER = new StringSerializer();
|
||||||
private static final Serde<String> STRING_SERDE = Serdes.String();
|
private static final Serde<String> STRING_SERDE = Serdes.String();
|
||||||
|
|
Loading…
Reference in New Issue