{"action":"opened","issue":{"url":"https://api.github.com/repos/hyperledger/fabric/issues/1354","repository_url":"https://api.github.com/repos/hyperledger/fabric","labels_url":"https://api.github.com/repos/hyperledger/fabric/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/hyperledger/fabric/issues/1354/comments","events_url":"https://api.github.com/repos/hyperledger/fabric/issues/1354/events","html_url":"https://github.com/hyperledger/fabric/issues/1354","id":153121219,"number":1354,"title":"DOC https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/install.md Cancelling peer before starting behave tests ","user":{"login":"jjjjibm","id":17887475,"avatar_url":"https://avatars.githubusercontent.com/u/17887475?v=3","gravatar_id":"","url":"https://api.github.com/users/jjjjibm","html_url":"https://github.com/jjjjibm","followers_url":"https://api.github.com/users/jjjjibm/followers","following_url":"https://api.github.com/users/jjjjibm/following{/other_user}","gists_url":"https://api.github.com/users/jjjjibm/gists{/gist_id}","starred_url":"https://api.github.com/users/jjjjibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjjjibm/subscriptions","organizations_url":"https://api.github.com/users/jjjjibm/orgs","repos_url":"https://api.github.com/users/jjjjibm/repos","events_url":"https://api.github.com/users/jjjjibm/events{/privacy}","received_events_url":"https://api.github.com/users/jjjjibm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T21:38:37Z","updated_at":"2016-05-04T21:38:37Z","closed_at":null,"body":"On this web page: https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/install.md\r\nThis section: _3.2 Behave Tests_\r\nmentions that you can initialize docker containers for behave by running the unit tests described in section 3.1.  \r\n\r\nDevelopment has advised me that if I run unit tests described in section 3.1 to set up behave, I need to cancel the peer mentioned in 3.1 before starting behave.  However, the web page doesn't mention this at all. \r\n\r\nSuggestion: \r\n3.2 Behave Tests\r\nBehave tests will setup networks of peers with different security and consensus configurations and verify that transactions run properly. To run these tests:\r\n\r\n1) Behave requires peer and member services docker images.  Choose one of these methods\r\n    to create the requisite docker images for behave: \r\n\r\n     Unit test method:\r\n       a. Run unit tests as described in section 3.1.\r\n       b. Cancel the peer you started when you ran the unit tests.\r\n  \r\n    Go test method:\r\n      In a vagrant window, execute these commands:\r\n  \tgo test github.com/hyperledger/fabric/core/container -run=BuildImage_Peer\r\n\tgo test github.com/hyperledger/fabric/core/container -run=BuildImage_Obcca\r\n\r\n2) In a vagrant window, enter \r\n  a.\tcd $GOPATH/src/github.com/hyperledger/fabric/bddtests\r\n  b.\tbehave\r\n        or \r\n        behave -D logs=Y  /* captures logs from Docker containers */\r\n"}}