----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30078/ -----------------------------------------------------------
(Updated Jan. 20, 2015, 4:15 p.m.) Review request for kafka. Changes ------- An attempt at better formatting the test run details Bugs: KAFKA-1885 https://issues.apache.org/jira/browse/KAFKA-1885 Repository: kafka Description ------- KAFKA-1885 Upgrade junit dependency in core to 4.6 version to allow running individual test methods via gradle command line Diffs ----- build.gradle 1cbab29ce83e20dae0561b51eed6fdb86d522f28 Diff: https://reviews.apache.org/r/30078/diff/ Testing (updated) ------- Tested that existing support to run an entire individual test case from the command line works as advertised: ```./gradlew -Dtest.single=ProducerFailureHandlingTest core:test kafka.api.test.ProducerFailureHandlingTest > testTooLargeRecordWithAckZero PASSED kafka.api.test.ProducerFailureHandlingTest > testTooLargeRecordWithAckOne PASSED kafka.api.test.ProducerFailureHandlingTest > testNonExistentTopic PASSED kafka.api.test.ProducerFailureHandlingTest > testWrongBrokerList PASSED kafka.api.test.ProducerFailureHandlingTest > testNoResponse PASSED kafka.api.test.ProducerFailureHandlingTest > testInvalidPartition PASSED kafka.api.test.ProducerFailureHandlingTest > testSendAfterClosed PASSED kafka.api.test.ProducerFailureHandlingTest > testBrokerFailure PASSED kafka.api.test.ProducerFailureHandlingTest > testCannotSendToInternalTopic PASSED kafka.api.test.ProducerFailureHandlingTest > testNotEnoughReplicas PASSED kafka.api.test.ProducerFailureHandlingTest > testNotEnoughReplicasAfterBrokerShutdown PASSED BUILD SUCCESSFUL ``` Also tested that with this change it is now possible to run individual test methods as follows: ``` ./gradlew clients:test --tests org.apache.kafka.clients.producer.MetadataTest.testMetadataUpdateWaitTime org.apache.kafka.clients.producer.MetadataTest > testMetadataUpdateWaitTime PASSED ``` ``` ./gradlew core:test --tests kafka.api.test.ProducerFailureHandlingTest.testCannotSendToInternalTopic kafka.api.test.ProducerFailureHandlingTest > testCannotSendToInternalTopic PASSED ``` Thanks, Jaikiran Pai