Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
debug: report top block during tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Donnell <[email protected]>
  • Loading branch information
scealiontach committed Jun 22, 2021
1 parent 0209441 commit 94bb967
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions adhoc/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ volumes:
services:

validator:
image: hyperledger/sawtooth-validator:nightly
image: sawtooth-raft-test:$ISOLATION_ID
labels:
- "com.sawtooth.isolation_id=${ISOLATION_ID:-}"
command: "bash -c \"\
Expand Down Expand Up @@ -94,7 +94,7 @@ services:
stop_signal: SIGKILL

raft:
image: sawtooth-raft-engine-local
image: sawtooth-raft-engine-local:$ISOLATION_ID
labels:
- "com.sawtooth.isolation_id=${ISOLATION_ID:-}"
build:
Expand All @@ -106,7 +106,7 @@ services:
command: ./target/debug/raft-engine --connect tcp://validator:5050 -v

rest-api:
image: hyperledger/sawtooth-rest-api:nightly
image: sawtooth-raft-test:$ISOLATION_ID
labels:
- "com.sawtooth.isolation_id=${ISOLATION_ID:-}"
command: "bash -c \"
Expand All @@ -124,15 +124,18 @@ services:
- 8008
stop_signal: SIGKILL

intkey-tp-python:
image: hyperledger/sawtooth-intkey-tp-python:nightly
labels:
- "com.sawtooth.isolation_id=${ISOLATION_ID:-}"
command: intkey-tp-python -vv -C tcp://validator:4004
smallbank-tp:
image: sawtooth-raft-test:$ISOLATION_ID
build:
context: .
dockerfile: sawtooth-raft-test.dockerfile
expose:
- 4004
command: smallbank-tp-go -C tcp://validator:4004 --max-queue-size 1024 --worker-thread-count 32
stop_signal: SIGKILL

settings-tp:
image: hyperledger/sawtooth-settings-tp:nightly
image: sawtooth-raft-test:$ISOLATION_ID
labels:
- "com.sawtooth.isolation_id=${ISOLATION_ID:-}"
command: settings-tp -C tcp://validator:4004 -v
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dynamic_membership.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ docker exec $ADMIN bash -c '\
echo "All nodes have reached block 10!"

echo "Starting 5th node"
docker-compose -p epsilon -f ../adhoc/node.yaml up -d
docker-compose -p epsilon -f ../adhoc/node.yaml up &

echo "Waiting until 5th node is ready"
docker exec $ADMIN bash -c 'while true; do \
Expand Down

0 comments on commit 94bb967

Please sign in to comment.