Skip to content

Commit

Permalink
Enable bdd tests for solo
Browse files Browse the repository at this point in the history
Change-Id: Ia99432c76f75f4f6dde953209631af9a5f459bd2
Signed-off-by: jyellick <jyellick@us.ibm.com>
  • Loading branch information
jyellick committed Aug 30, 2016
1 parent 53fd500 commit 152a8f2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ BASEIMAGE_DEPS = $(shell git ls-files images/base scripts/provision)

JAVASHIM_DEPS = $(shell git ls-files core/chaincode/shim/java)
PROJECT_FILES = $(shell git ls-files)
IMAGES = base src ccenv peer membersrvc javaenv
IMAGES = base src ccenv peer membersrvc javaenv orderer


all: peer membersrvc checks
Expand All @@ -71,6 +71,10 @@ $(SUBDIRS):
peer: build/bin/peer
peer-image: build/image/peer/.dummy

.PHONY: orderer
orderer: build/bin/orderer
orderer-image: build/image/orderer/.dummy

.PHONY: membersrvc
membersrvc: build/bin/membersrvc
membersrvc-image: build/image/membersrvc/.dummy
Expand All @@ -96,6 +100,7 @@ linter: gotools
go vet ./membersrvc/...
go vet ./peer/...
go vet ./protos/...
go vet ./orderer/...
@echo "Running goimports"
@./scripts/goimports.sh

Expand Down
1 change: 0 additions & 1 deletion bddtests/.behaverc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ tags=~@issue_767
~@issue_1565
~@issue_RBAC_TCERT_With_Attributes
~@sdk
~@orderer
~@endorser
16 changes: 8 additions & 8 deletions bddtests/docker-compose-orderer-solo.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
orderer0:
image: hyperledger/fabric-orderer-solo
image: hyperledger/fabric-orderer
environment:
- ORDERER_WINDOW_SIZE_MAX=1000
- ORDERER_BATCH_TIMEOUT=10s
- ORDERER_BATCH_SIZE=10
- ORDERER_BLOCK_HISTORY_SIZE=100
- ORDERER_LISTEN_ADDRESS=0.0.0.0
# Startup of peer must be delayed to allow membersrvc to come up first
#command: sh -c "sleep 5; peer node start"
- ORDERER_LISTEN_PORT=5005
#- ORDERER_WINDOW_SIZE_MAX=1000 # TODO (implement)
#- ORDERER_BATCH_TIMEOUT=10s # TODO (implement)
#- ORDERER_BATCH_SIZE=10 # TODO (implement)
#- ORDERER_BLOCK_HISTORY_SIZE=100 # TODO (implement)

working_dir: /opt/gopath/src/github.com/hyperledger/fabric/orderer
command: ./orderer
command: orderer
2 changes: 1 addition & 1 deletion scripts/provision/host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pip install -I flask==0.10.1 python-dateutil==2.2 pytz==2014.3 pyyaml==3.10 couc
# Python grpc package for behave tests
# Required to update six for grpcio
pip install --ignore-installed six
pip install --upgrade 'grpcio==0.13.1'
pip install --upgrade 'grpcio==1.0.0'

# install ruby and apiaryio
#apt-get install --yes ruby ruby-dev gcc
Expand Down

0 comments on commit 152a8f2

Please sign in to comment.