-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: DavidLiu <[email protected]>
- Loading branch information
Showing
6 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,13 @@ case $1 in | |
cd ./first-network | ||
|
||
echo y | ./byfn.sh up -i 1.4.12 | ||
|
||
## 1.4 cryptogen compensate | ||
priv_sk=crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/* | ||
cp $priv_sk crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/priv_sk | ||
## | ||
cp -r crypto-config "$DIR" | ||
|
||
CONFIG_FILE=/config/test/config14org1andorg2.yaml | ||
network=host | ||
;; | ||
|
@@ -82,8 +87,6 @@ case $1 in | |
esac | ||
|
||
cd "$DIR" | ||
#docker ps -a | ||
#docker network ls | ||
## warm up for the init chaincode block | ||
sleep 10 | ||
case $2 in | ||
|
@@ -92,8 +95,6 @@ case $2 in | |
docker run -d --name tape1 -e TAPE_LOGLEVEL=debug --network $network -v $PWD:/config tape tape traffic -c $CONFIG_FILE --rate=10 -n 500 | ||
docker run -d --name tape2 -e TAPE_LOGLEVEL=debug --network $network -v $PWD:/config tape tape traffic -c $CONFIG_FILE --rate=10 -n 500 | ||
sleep 10 | ||
#docker logs tape1 | ||
# | ||
timeout 10 docker logs tape3 | ||
timeout 10 docker logs tape2 | ||
;; | ||
|