mirror of https://github.com/apache/kafka.git
KAFKA-17179 Remove integration tag in class level when using ClusterTestExtensions (#16656)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
4fa1c21940
commit
253b36113d
|
@ -39,7 +39,6 @@ import org.apache.kafka.server.common.MetadataVersion;
|
|||
import org.apache.kafka.server.config.ZooKeeperInternals;
|
||||
import org.apache.kafka.test.TestUtils;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.junit.platform.commons.util.StringUtils;
|
||||
|
||||
|
@ -75,7 +74,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
@Tag("integration")
|
||||
public class ConfigCommandIntegrationTest {
|
||||
|
||||
private List<String> alterOpts;
|
||||
|
|
|
@ -40,7 +40,6 @@ import org.apache.kafka.common.serialization.StringSerializer;
|
|||
import org.apache.kafka.storage.internals.checkpoint.PartitionMetadataFile;
|
||||
import org.apache.kafka.test.TestUtils;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -60,7 +59,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse;
|
|||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
@Tag("integration")
|
||||
public class LogManagerIntegrationTest {
|
||||
private final ClusterInstance cluster;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@ import org.apache.kafka.raft.QuorumConfig
|
|||
import org.apache.kafka.server.common.MetadataVersion
|
||||
import org.apache.kafka.server.config.{KRaftConfigs, ZkConfigs}
|
||||
import org.junit.jupiter.api.Assertions.{assertThrows, fail}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
|
||||
import java.util.Optional
|
||||
import java.util.concurrent.{TimeUnit, TimeoutException}
|
||||
|
@ -42,7 +42,6 @@ import scala.jdk.CollectionConverters._
|
|||
* of just the broker registration path.
|
||||
*/
|
||||
@Timeout(120)
|
||||
@Tag("integration")
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
class KafkaServerKRaftRegistrationTest {
|
||||
|
||||
|
|
|
@ -27,13 +27,12 @@ import org.apache.kafka.common.protocol.Errors
|
|||
import org.apache.kafka.common.requests._
|
||||
import org.apache.kafka.server.common.ProducerIdsBlock
|
||||
import org.junit.jupiter.api.Assertions.{assertEquals, assertTrue}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class AllocateProducerIdsRequestTest(cluster: ClusterInstance) {
|
||||
|
||||
@ClusterTest
|
||||
|
|
|
@ -34,8 +34,8 @@ import org.apache.kafka.common.{Node, Uuid}
|
|||
import org.apache.kafka.server.{ControllerRequestCompletionHandler, NodeToControllerChannelManager}
|
||||
import org.apache.kafka.server.common.MetadataVersion
|
||||
import org.junit.jupiter.api.Assertions.{assertEquals, assertThrows}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
|
||||
import java.util.concurrent.{CompletableFuture, TimeUnit, TimeoutException}
|
||||
|
||||
|
@ -43,7 +43,6 @@ import java.util.concurrent.{CompletableFuture, TimeUnit, TimeoutException}
|
|||
* This test simulates a broker registering with the KRaft quorum under different configurations.
|
||||
*/
|
||||
@Timeout(120)
|
||||
@Tag("integration")
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
class BrokerRegistrationRequestTest {
|
||||
|
||||
|
|
|
@ -31,13 +31,11 @@ import org.apache.kafka.common.quota.{ClientQuotaAlteration, ClientQuotaEntity,
|
|||
import org.apache.kafka.common.requests.{AlterClientQuotasRequest, AlterClientQuotasResponse, DescribeClientQuotasRequest, DescribeClientQuotasResponse}
|
||||
import org.apache.kafka.server.config.{QuotaConfigs, ZooKeeperInternals}
|
||||
import org.junit.jupiter.api.Assertions._
|
||||
import org.junit.jupiter.api.Tag
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import scala.jdk.CollectionConverters._
|
||||
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@Tag("integration")
|
||||
class ClientQuotasRequestTest(cluster: ClusterInstance) {
|
||||
@ClusterTest
|
||||
def testAlterClientQuotasRequest(): Unit = {
|
||||
|
|
|
@ -29,8 +29,8 @@ import org.apache.kafka.common.resource.ResourceType
|
|||
import org.apache.kafka.common.utils.Utils
|
||||
import org.apache.kafka.security.authorizer.AclEntry
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
|
||||
import java.lang.{Byte => JByte}
|
||||
import scala.jdk.CollectionConverters._
|
||||
|
@ -38,7 +38,6 @@ import scala.jdk.CollectionConverters._
|
|||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT), brokers = 1)
|
||||
@Tag("integration")
|
||||
class ConsumerGroupDescribeRequestsTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
|
||||
@ClusterTest(types = Array(Type.ZK))
|
||||
|
|
|
@ -25,14 +25,13 @@ import org.apache.kafka.common.message.{ConsumerGroupHeartbeatRequestData, Consu
|
|||
import org.apache.kafka.common.protocol.Errors
|
||||
import org.apache.kafka.common.requests.{ConsumerGroupHeartbeatRequest, ConsumerGroupHeartbeatResponse}
|
||||
import org.junit.jupiter.api.Assertions.{assertEquals, assertNotEquals, assertNotNull}
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import scala.jdk.CollectionConverters._
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@Tag("integration")
|
||||
class ConsumerGroupHeartbeatRequestTest(cluster: ClusterInstance) {
|
||||
|
||||
@ClusterTest()
|
||||
|
|
|
@ -25,14 +25,12 @@ import org.apache.kafka.coordinator.group.Group
|
|||
import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
||||
import org.apache.kafka.coordinator.group.modern.consumer.ConsumerGroup.ConsumerGroupState
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.Tag
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class ConsumerProtocolMigrationTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(
|
||||
serverProperties = Array(
|
||||
|
|
|
@ -23,13 +23,12 @@ import org.apache.kafka.common.message.DescribeGroupsResponseData.DescribedGroup
|
|||
import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
||||
import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
||||
import org.junit.jupiter.api.Assertions.{assertEquals, fail}
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class DeleteGroupsRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(
|
||||
serverProperties = Array(
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.kafka.common.message.DescribeGroupsResponseData.{DescribedGrou
|
|||
import org.apache.kafka.common.protocol.ApiKeys
|
||||
import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import scala.jdk.CollectionConverters._
|
||||
|
@ -31,7 +31,6 @@ import scala.jdk.CollectionConverters._
|
|||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class DescribeGroupsRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(serverProperties = Array(
|
||||
new ClusterConfigProperty(key = "group.coordinator.rebalance.protocols", value = "classic,consumer"),
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
|||
import org.apache.kafka.common.requests.DescribeQuorumRequest.singletonRequest
|
||||
import org.apache.kafka.common.requests.{AbstractRequest, AbstractResponse, ApiVersionsRequest, ApiVersionsResponse, DescribeQuorumRequest, DescribeQuorumResponse}
|
||||
import org.junit.jupiter.api.Assertions._
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import scala.jdk.CollectionConverters._
|
||||
|
@ -33,7 +33,6 @@ import scala.reflect.ClassTag
|
|||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class DescribeQuorumRequestTest(cluster: ClusterInstance) {
|
||||
|
||||
@ClusterTest(types = Array(Type.ZK))
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.kafka.clients.consumer.internals.ConsumerProtocol
|
|||
import org.apache.kafka.common.message.SyncGroupRequestData
|
||||
import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
||||
import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import java.util.Collections
|
||||
|
@ -35,7 +35,6 @@ import scala.concurrent.Future
|
|||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class HeartbeatRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(serverProperties = Array(
|
||||
new ClusterConfigProperty(key = "group.coordinator.rebalance.protocols", value = "classic,consumer"),
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.kafka.common.message.{JoinGroupResponseData, SyncGroupRequestD
|
|||
import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
||||
import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import java.util.Collections
|
||||
|
@ -38,7 +38,6 @@ import scala.jdk.CollectionConverters._
|
|||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@Tag("integration")
|
||||
class JoinGroupRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(types = Array(Type.KRAFT), serverProperties = Array(
|
||||
new ClusterConfigProperty(key = "group.coordinator.new.enable", value = "true"),
|
||||
|
|
|
@ -23,13 +23,12 @@ import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
|||
import org.apache.kafka.common.requests.JoinGroupRequest
|
||||
import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class LeaveGroupRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(serverProperties = Array(
|
||||
new ClusterConfigProperty(key = "group.coordinator.rebalance.protocols", value = "classic,consumer"),
|
||||
|
|
|
@ -25,13 +25,12 @@ import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
|||
import org.apache.kafka.coordinator.group.modern.consumer.ConsumerGroup.ConsumerGroupState
|
||||
import org.apache.kafka.coordinator.group.Group
|
||||
import org.junit.jupiter.api.Assertions.{assertEquals, fail}
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class ListGroupsRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(
|
||||
serverProperties = Array(
|
||||
|
|
|
@ -21,13 +21,12 @@ import kafka.test.annotation.{ClusterConfigProperty, ClusterTest, ClusterTestDef
|
|||
import kafka.test.junit.ClusterTestExtensions
|
||||
import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
||||
import org.junit.jupiter.api.Assertions.fail
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class OffsetCommitRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
|
||||
@ClusterTest(
|
||||
|
|
|
@ -21,13 +21,12 @@ import kafka.test.annotation.{ClusterConfigProperty, ClusterTest, ClusterTestDef
|
|||
import kafka.test.junit.ClusterTestExtensions
|
||||
import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
||||
import org.junit.jupiter.api.Assertions.fail
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class OffsetDeleteRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(
|
||||
serverProperties = Array(
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.apache.kafka.common.TopicPartition
|
|||
import org.apache.kafka.common.message.OffsetFetchResponseData
|
||||
import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
||||
import org.junit.jupiter.api.Assertions.{assertEquals, fail}
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import scala.jdk.CollectionConverters._
|
||||
|
@ -32,7 +32,6 @@ import scala.jdk.CollectionConverters._
|
|||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class OffsetFetchRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
|
||||
@ClusterTest(
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.kafka.clients.consumer.internals.ConsumerProtocol
|
|||
import org.apache.kafka.common.message.SyncGroupRequestData
|
||||
import org.apache.kafka.common.protocol.{ApiKeys, Errors}
|
||||
import org.apache.kafka.coordinator.group.classic.ClassicGroupState
|
||||
import org.junit.jupiter.api.{Tag, Timeout}
|
||||
import org.junit.jupiter.api.Timeout
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
import java.util.Collections
|
||||
|
@ -36,7 +36,6 @@ import scala.concurrent.{Await, Future}
|
|||
@Timeout(120)
|
||||
@ExtendWith(value = Array(classOf[ClusterTestExtensions]))
|
||||
@ClusterTestDefaults(types = Array(Type.KRAFT))
|
||||
@Tag("integration")
|
||||
class SyncGroupRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBaseRequestTest(cluster) {
|
||||
@ClusterTest(serverProperties = Array(
|
||||
new ClusterConfigProperty(key = "group.coordinator.rebalance.protocols", value = "classic,consumer"),
|
||||
|
|
|
@ -34,7 +34,6 @@ import org.apache.kafka.server.log.remote.storage.RemoteStorageException;
|
|||
import org.apache.kafka.storage.internals.log.EpochEntry;
|
||||
import org.apache.kafka.test.TestUtils;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -57,7 +56,6 @@ import static org.mockito.Mockito.verify;
|
|||
|
||||
@ClusterTestDefaults(brokers = 3)
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
@Tag("integration")
|
||||
public class RemoteLogSegmentLifecycleTest {
|
||||
|
||||
private final int segSize = 1048576;
|
||||
|
|
|
@ -33,7 +33,6 @@ import org.apache.kafka.server.log.remote.storage.RemoteLogSegmentId;
|
|||
import org.apache.kafka.server.log.remote.storage.RemoteLogSegmentMetadata;
|
||||
import org.apache.kafka.server.log.remote.storage.RemoteStorageException;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -54,7 +53,6 @@ import static org.mockito.Mockito.doAnswer;
|
|||
import static org.mockito.Mockito.spy;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
@Tag("integration")
|
||||
@ExtendWith(ClusterTestExtensions.class)
|
||||
@ClusterTestDefaults(brokers = 3)
|
||||
public class TopicBasedRemoteLogMetadataManagerMultipleSubscriptionsTest {
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.apache.kafka.server.log.remote.storage.RemoteLogSegmentId;
|
|||
import org.apache.kafka.server.log.remote.storage.RemoteLogSegmentMetadata;
|
||||
import org.apache.kafka.test.TestUtils;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -40,7 +39,6 @@ import static org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemo
|
|||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
@Tag("integration")
|
||||
public class TopicBasedRemoteLogMetadataManagerRestartTest {
|
||||
|
||||
private final Time time = Time.SYSTEM;
|
||||
|
|
|
@ -29,7 +29,6 @@ import org.apache.kafka.server.log.remote.metadata.storage.RemoteLogMetadataMana
|
|||
import org.apache.kafka.server.log.remote.metadata.storage.RemotePartitionMetadataStore;
|
||||
import org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.util.Collections;
|
||||
|
@ -46,7 +45,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
|
||||
@Tag("integration")
|
||||
@ExtendWith(ClusterTestExtensions.class)
|
||||
@ClusterTestDefaults(brokers = 3)
|
||||
public class RemoteLogMetadataManagerTest {
|
||||
|
|
|
@ -33,7 +33,6 @@ import org.apache.kafka.server.common.AdminOperationException;
|
|||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
|
@ -50,7 +49,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
@Tag("integration")
|
||||
public class DeleteRecordsCommandTest {
|
||||
|
||||
@ClusterTest
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.kafka.server.common.MetadataVersion;
|
|||
|
||||
import net.sourceforge.argparse4j.inf.Namespace;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
|
@ -47,7 +46,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@Tag("integration")
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
public class FeatureCommandTest {
|
||||
@ClusterTest(types = {Type.ZK}, metadataVersion = MetadataVersion.IBP_3_3_IV1)
|
||||
|
|
|
@ -36,7 +36,6 @@ import org.apache.kafka.common.serialization.StringSerializer;
|
|||
import org.apache.kafka.common.utils.AppInfoParser;
|
||||
import org.apache.kafka.common.utils.Exit;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.time.Duration;
|
||||
|
@ -59,7 +58,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
@ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1"),
|
||||
@ClusterConfigProperty(key = "offsets.topic.num.partitions", value = "4")
|
||||
})
|
||||
@Tag("integration")
|
||||
public class GetOffsetShellTest {
|
||||
private final int topicCount = 4;
|
||||
private final ClusterInstance cluster;
|
||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.kafka.common.TopicPartition;
|
|||
import org.apache.kafka.common.errors.UnknownTopicOrPartitionException;
|
||||
import org.apache.kafka.server.common.AdminCommandFailedException;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.ArgumentCaptor;
|
||||
import org.mockito.MockedStatic;
|
||||
|
@ -72,7 +71,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
@ClusterConfigProperty(key = "controlled.shutdown.retry.backoff.ms", value = "1000"),
|
||||
@ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "2")
|
||||
})
|
||||
@Tag("integration")
|
||||
public class LeaderElectionCommandTest {
|
||||
private final ClusterInstance cluster;
|
||||
int broker2 = 1;
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.kafka.clients.admin.AdminClientConfig;
|
|||
import org.apache.kafka.common.errors.UnsupportedVersionException;
|
||||
import org.apache.kafka.test.TestUtils;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.io.File;
|
||||
|
@ -44,7 +43,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
@Tag("integration")
|
||||
class MetadataQuorumCommandTest {
|
||||
|
||||
private final ClusterInstance cluster;
|
||||
|
|
|
@ -40,7 +40,6 @@ import org.apache.kafka.common.serialization.ByteArraySerializer;
|
|||
import org.apache.kafka.coordinator.group.GroupCoordinatorConfig;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import java.time.Duration;
|
||||
|
@ -56,7 +55,6 @@ import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
|
|||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
|
||||
@Tag("integration")
|
||||
@ExtendWith(ClusterTestExtensions.class)
|
||||
public class DeleteOffsetsConsumerGroupCommandIntegrationTest {
|
||||
public static final String TOPIC_PREFIX = "foo.";
|
||||
|
|
|
@ -41,7 +41,6 @@ import org.apache.kafka.test.TestUtils;
|
|||
import org.apache.kafka.tools.ToolsTestUtils;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
|
@ -70,7 +69,6 @@ import static org.junit.jupiter.api.Assertions.assertInstanceOf;
|
|||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@Tag("integration")
|
||||
@ExtendWith(value = ClusterTestExtensions.class)
|
||||
public class DescribeConsumerGroupTest {
|
||||
private static final String TOPIC_PREFIX = "test.topic.";
|
||||
|
|
|
@ -37,7 +37,6 @@ import org.apache.kafka.test.TestUtils;
|
|||
import org.apache.kafka.tools.ToolsTestUtils;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
|
@ -67,7 +66,6 @@ import static org.apache.kafka.clients.consumer.ConsumerConfig.PARTITION_ASSIGNM
|
|||
import static org.apache.kafka.clients.consumer.ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG;
|
||||
import static org.apache.kafka.common.utils.Utils.mkSet;
|
||||
|
||||
@Tag("integration")
|
||||
@ExtendWith(ClusterTestExtensions.class)
|
||||
public class ListConsumerGroupTest {
|
||||
private static final String TOPIC_PREFIX = "test.topic.";
|
||||
|
|
Loading…
Reference in New Issue