[ https://issues.apache.org/jira/browse/ZOOKEEPER-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-111: ----------------------------------- Attachment: ZOOKEEPER-111.patch same as last patch except I addressed the issues on windows: 1) concurrency/fs sucks for single core, creating the 64mb log files (5) in quorum test was taking 15seconds / server - resulting in client timeout when session was not established quickly enough 2) testHammer in quorumtest is taking upwards of 8 minutes to complete on my 2ghz 1core windows machine for 1) I decreased the log file prealloc in tests (tests only to 100k), and for 2) I reworked testHammer to monitor the running hammer threads and look for them to complete rather than assume they complete within some bounded time. (still a max though to handle runaways) tested on ubuntu and windows and tests are passing. > significant cleanup of existing tests > ------------------------------------- > > Key: ZOOKEEPER-111 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-111 > Project: Zookeeper > Issue Type: Improvement > Components: tests > Reporter: Patrick Hunt > Assignee: Patrick Hunt > Attachments: TEST-org.apache.zookeeper.test.AsyncTest.txt, > ZOOKEEPER-111.patch, ZOOKEEPER-111.patch, ZOOKEEPER-111.patch, > ZOOKEEPER-111.patch, ZOOKEEPER-111.patch > > > About to submit a patch that significantly cleans up existing tests. > 1) removed the need for "sleep" calls in the tests, instead I monitor the > status of the server (using the client socket "stat" command) which provides > a barrier to the client test operations. I use this barrier both when > starting and ending the test. > 2) also fixed a number of problems in the tests where the test itself was > broken. > 3) general cleanup and some refactoring to make it easier to write new tests, > maintain old, and track down issues if the test does find a problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.