You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/09/13 13:22:00 UTC

[jira] [Created] (KAFKA-5884) Enable PowerMock tests when running on Java 9

Ismael Juma created KAFKA-5884:
----------------------------------

             Summary: Enable PowerMock tests when running on Java 9
                 Key: KAFKA-5884
                 URL: https://issues.apache.org/jira/browse/KAFKA-5884
             Project: Kafka
          Issue Type: Task
            Reporter: Ismael Juma
             Fix For: 1.1.0


PowerMock 2.0.0 will support Java 9. Once that is released, we should upgrade to it and remove the following code from build.gradle:

{code}
String[] testsToExclude = []
  if (JavaVersion.current().isJava9Compatible()) {
    testsToExclude = [
      "**/KafkaProducerTest.*", "**/BufferPoolTest.*",
      "**/SourceTaskOffsetCommitterTest.*", "**/WorkerSinkTaskTest.*", "**/WorkerSinkTaskThreadedTest.*",
      "**/WorkerSourceTaskTest.*", "**/WorkerTest.*", "**/DistributedHerderTest.*", "**/WorkerCoordinatorTest.*",
      "**/RestServerTest.*", "**/ConnectorPluginsResourceTest.*", "**/ConnectorsResourceTest.*",
      "**/StandaloneHerderTest.*", "**/FileOffsetBakingStoreTest.*", "**/KafkaConfigBackingStoreTest.*",
      "**/KafkaOffsetBackingStoreTest.*", "**/OffsetStorageWriterTest.*", "**/KafkaBasedLogTest.*"
    ]
  }
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)