mirror of https://github.com/apache/kafka.git
KAFKA-18245 add Flaky annotation to testMetricsDuringTopicCreateDelete (#18187)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
0781b1bad3
commit
408ce19c62
|
@ -24,7 +24,8 @@ import kafka.utils.{Logging, TestUtils}
|
|||
import scala.jdk.CollectionConverters._
|
||||
import org.junit.jupiter.api.{BeforeEach, TestInfo}
|
||||
import com.yammer.metrics.core.Gauge
|
||||
import org.apache.kafka.server.config.{ServerConfigs, ReplicationConfigs, ServerLogConfigs}
|
||||
import org.apache.kafka.common.test.api.Flaky
|
||||
import org.apache.kafka.server.config.{ReplicationConfigs, ServerConfigs, ServerLogConfigs}
|
||||
import org.apache.kafka.server.metrics.KafkaYammerMetrics
|
||||
import org.junit.jupiter.params.ParameterizedTest
|
||||
import org.junit.jupiter.params.provider.ValueSource
|
||||
|
@ -71,6 +72,7 @@ class MetricsDuringTopicCreationDeletionTest extends KafkaServerTestHarness with
|
|||
*/
|
||||
@ParameterizedTest
|
||||
@ValueSource(strings = Array("kraft"))
|
||||
@Flaky("KAFKA-18245")
|
||||
def testMetricsDuringTopicCreateDelete(quorum: String): Unit = {
|
||||
|
||||
// For UnderReplicatedPartitions, because of https://issues.apache.org/jira/browse/KAFKA-4605
|
||||
|
|
Loading…
Reference in New Issue