You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/09/13 13:23:00 UTC
[jira] [Updated] (KAFKA-5884) Enable PowerMock tests when running
on Java 9
[ https://issues.apache.org/jira/browse/KAFKA-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma updated KAFKA-5884:
-------------------------------
Fix Version/s: 1.0.1
> 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, 1.0.1
>
>
> 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)