You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2019/08/09 15:06:03 UTC
[kafka] branch trunk updated: MINOR: Ignore dynamic log4j log level
tests (#7183)
This is an automated email from the ASF dual-hosted git repository.
ijuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 3f00649 MINOR: Ignore dynamic log4j log level tests (#7183)
3f00649 is described below
commit 3f0064974f5040da5bedd07f3eb382ac63424537
Author: Stanislav Kozlovski <st...@outlook.com>
AuthorDate: Fri Aug 9 16:05:25 2019 +0100
MINOR: Ignore dynamic log4j log level tests (#7183)
We recently introduced a bunch of flaky tests in the AdminClientIntegrationTest.
These tests are failing very frequently. We should ignore the tests in order to
make the build stable until we have a fix.
Reviewers: Ismael Juma <is...@juma.me.uk>
---
.../scala/integration/kafka/api/AdminClientIntegrationTest.scala | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala b/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala
index ff8e379..b7a2c6a 100644
--- a/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala
+++ b/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala
@@ -48,7 +48,7 @@ import org.apache.kafka.common.resource.{PatternType, ResourcePattern, ResourceT
import org.apache.kafka.common.utils.{Time, Utils}
import org.junit.Assert._
import org.junit.rules.Timeout
-import org.junit.{After, Before, Rule, Test}
+import org.junit.{After, Before, Ignore, Rule, Test}
import org.scalatest.Assertions.intercept
import scala.collection.JavaConverters._
@@ -1842,6 +1842,7 @@ class AdminClientIntegrationTest extends IntegrationTestHarness with Logging {
}
@Test
+ @Ignore // To be re-enabled once KAFKA-8779 is resolved
def testIncrementalAlterConfigsForLog4jLogLevels(): Unit = {
client = AdminClient.create(createConfig())
@@ -1905,6 +1906,7 @@ class AdminClientIntegrationTest extends IntegrationTestHarness with Logging {
* 5. Ensure the kafka.controller.KafkaController logger's level is ERROR (the curent root logger level)
*/
@Test
+ @Ignore // To be re-enabled once KAFKA-8779 is resolved
def testIncrementalAlterConfigsForLog4jLogLevelsCanResetLoggerToCurrentRoot(): Unit = {
client = AdminClient.create(createConfig())
// step 1 - configure root logger
@@ -1946,6 +1948,7 @@ class AdminClientIntegrationTest extends IntegrationTestHarness with Logging {
}
@Test
+ @Ignore // To be re-enabled once KAFKA-8779 is resolved
def testIncrementalAlterConfigsForLog4jLogLevelsCannotResetRootLogger(): Unit = {
client = AdminClient.create(createConfig())
val deleteRootLoggerEntry = Seq(
@@ -1956,6 +1959,7 @@ class AdminClientIntegrationTest extends IntegrationTestHarness with Logging {
}
@Test
+ @Ignore // To be re-enabled once KAFKA-8779 is resolved
def testIncrementalAlterConfigsForLog4jLogLevelsDoesNotWorkWithInvalidConfigs(): Unit = {
client = AdminClient.create(createConfig())
val validLoggerName = "kafka.server.KafkaRequestHandler"
@@ -2000,6 +2004,7 @@ class AdminClientIntegrationTest extends IntegrationTestHarness with Logging {
* The AlterConfigs API is deprecated and should not support altering log levels
*/
@Test
+ @Ignore // To be re-enabled once KAFKA-8779 is resolved
def testAlterConfigsForLog4jLogLevelsDoesNotWork(): Unit = {
client = AdminClient.create(createConfig())