[
https://issues.apache.org/jira/browse/KAFKA-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971720#comment-13971720
]
Guozhang Wang commented on KAFKA-1396:
--------------------------------------
I did the same on a mac laptop and on a desktop, each for 10 times. All of them
finished within 1 minute, some is close to 1 minute. So I think the problem is
this integration test being long not having transient failures. One thing we
can do is to reduce the number of server failure iterations (currently it is 5).
--- Desktop ---
Total time: 40.028 secs
real 0m40.122s
user 0m48.018s
sys 0m3.791s
Total time: 40.411 secs
real 0m40.501s
user 0m44.771s
sys 0m3.517s
Total time: 41.76 secs
real 0m41.863s
user 0m47.275s
sys 0m3.953s
Total time: 41.096 secs
real 0m41.192s
user 0m47.258s
sys 0m3.942s
Total time: 42.378 secs
real 0m42.478s
user 0m52.630s
sys 0m5.211s
Total time: 41.79 secs
real 0m41.893s
user 0m50.208s
sys 0m4.515s
--- Laptop ---
Total time: 49.44 secs
real 0m49.589s
user 1m6.507s
sys 0m5.650s
Total time: 48.087 secs
real 0m48.264s
user 1m2.772s
sys 0m5.352s
Total time: 48.157 secs
real 0m48.312s
user 1m1.393s
sys 0m5.156s
Total time: 47.686 secs
real 0m47.854s
user 0m57.030s
sys 0m4.664s
Total time: 48.67 secs
real 0m48.862s
user 1m4.015s
sys 0m5.774s
Total time: 48.875 secs
real 0m49.054s
user 1m0.465s
sys 0m5.154s
Total time: 47.233 secs
real 0m47.414s
user 0m59.274s
sys 0m4.835s
Total time: 48.635 secs
real 0m48.826s
user 1m1.937s
sys 0m5.646s
Total time: 49.261 secs
real 0m49.420s
user 1m3.514s
sys 0m5.081s
Total time: 49.883 secs
real 0m50.040s
user 1m4.248s
sys 0m5.244s
> fix transient unit test ProducerFailureHandlingTest.testBrokerFailure
> ---------------------------------------------------------------------
>
> Key: KAFKA-1396
> URL: https://issues.apache.org/jira/browse/KAFKA-1396
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.2
> Reporter: Jun Rao
> Assignee: Guozhang Wang
>
> Currently disabled after kafka-1390.
--
This message was sent by Atlassian JIRA
(v6.2#6252)