Skip to content

Commit

Permalink
Suppress logging output of the peer during unit-tests
Browse files Browse the repository at this point in the history
We recently introduced the usage of docker-compose to
orchestrate the unit-test execution.  In doing so, we
changed the behavior of the peer container to inadvertently
make the peer log visible.  This isn't strictly necessary,
and it pollutes the unit-test output.  Therefore, lets
configure docker-compose to act similar to the previous
setup by suppressing the peer.

Change-Id: I2e331d6ab97e330ada89de9af0f690406324506d
Signed-off-by: Gregory Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Nov 29, 2016
1 parent ad453e5 commit 6856308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unit-test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
vp:
image: hyperledger/fabric-peer
log_driver: none
expose:
- 7051
environment:
Expand Down

0 comments on commit 6856308

Please sign in to comment.