You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/09/08 15:35:21 UTC

[jira] [Commented] (ZOOKEEPER-2507) C unit test improvement: line break between 'ZooKeeper server started' and 'Running'

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

Hudson commented on ZOOKEEPER-2507:
-----------------------------------

FAILURE: Integrated in Jenkins build ZooKeeper-trunk #3069 (See [https://builds.apache.org/job/ZooKeeper-trunk/3069/])
ZOOKEEPER-2507: C unit test improvement: line break between 'ZooKeeper server started' and 'Running' (Michael Han via phunt) (phunt: [http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1759839])
* (edit) trunk/CHANGES.txt
* (edit) trunk/src/c/tests/TestDriver.cc


> C unit test improvement: line break between 'ZooKeeper server started' and 'Running'
> ------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2507
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2507
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 3.4.8, 3.5.2
>            Reporter: Michael Han
>            Assignee: Michael Han
>            Priority: Minor
>             Fix For: 3.4.10, 3.5.3, 3.6.0
>
>         Attachments: ZOOKEEPER-2507.patch
>
>
> Currently we have this on C unit test output:
> {noformat}
> ZooKeeper server startedRunning
> ......
> OK
> {noformat}
> This is because the zkServer.sh, when eco 'ZooKeeper server started', does not put a line break at the end. It will be clearer for readers of the console output if we fix this by adding a line break in between, so we can separate the script output and the test output. After the fix the output would look like:
> {noformat}
> ZooKeeper server started
> Running
> .....
> OK
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)