[ 
https://issues.apache.org/jira/browse/KAFKA-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437204#comment-13437204
 ] 

Neha Narkhede commented on KAFKA-440:
-------------------------------------

Thanks for the patch! I tried to run the test, but got the following error -

2012-08-17 18:18:23,852 - INFO - 
======================================================
2012-08-17 18:18:23,853 - INFO - validating leader election
2012-08-17 18:18:23,853 - INFO - 
======================================================
Traceback (most recent call last):
  File "system_test_runner.py", line 143, in <module>
    main()
  File "system_test_runner.py", line 123, in main
    instance.runTest()
  File 
"/home/nnarkhed/Projects/kafka-440/system_test/replication_testsuite/replica_basic_test.py",
 line 186, in runTest
    kafkaTestcaseEnv, leaderDict, self.testcaseEnv.validationStatusDict)
  File 
"/home/nnarkhed/Projects/kafka-440/system_test/utils/kafka_system_test_utils.py",
 line 558, in validate_leader_election_successful
    leaderBrokerId = leaderDict["brokerid"]
KeyError: 'brokerid'

                
> Create a regression test framework for distributed environment testing
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-440
>                 URL: https://issues.apache.org/jira/browse/KAFKA-440
>             Project: Kafka
>          Issue Type: Task
>            Reporter: John Fung
>            Assignee: John Fung
>              Labels: replication-testing
>             Fix For: 0.8
>
>         Attachments: kafka-440-v1.patch, kafka-440-v2.patch, 
> kafka-440-v3.patch, kafka-440-v4.patch
>
>
> Initial requirements:
> 1. The whole test framework is preferably coded in Python (a common scripting 
> language which has well supported features)
> 2. Test framework driver should be generic (distributed environment can be 
> local host)
> 3. Test framework related configurations are defined in JSON format
> 4. Test environment, suite, case definitions may be defined in the following 
> levels:
>   4-a entity_id is used as a key for looking up related config from different 
> levels
>   4-b Cluster level defines: entity_id, hostname, kafka_home, java_home, ...
>   4-c Test suite / case level defines:
>     4-c-1 zookeeper: entity_id, clientPort, dataDir, log_filename, 
> config_filename
>     4-c-2 broker: entity_id, port, log.file.size, log.dir, log_filename, 
> config_filename
>     4-c-3 producer: entity_id, topic, threads, compression-codec, 
> message-size, log_filename, config_filename

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to