Skip to content

Commit

Permalink
tests: reduce stats buffering
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Aug 14, 2020
1 parent 30306b7 commit b0cf662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ go run ./check-prep
# We'll cause a sigpipe on this process, so ignore the exit status.
# The downstream awk will exit with nonzero status if this test actually fails without confirming any transactions.
./rosetta-cli --configuration-file rosetta-cli-config.json check:construction || true
} | awk '{ print $0 }; $1 == "[STATS]" && $4 >= 42 { confirmed = 1; exit }; END { exit !confirmed }'
} | stdbuf -oL awk '{ print $0 }; $1 == "[STATS]" && $4 >= 42 { confirmed = 1; exit }; END { exit !confirmed }'
rm -rf "${ROOT}/validator-data" /tmp/rosetta-cli*

printf "${GRN}### Testing construction signing workflow...${OFF}\n"
Expand Down

0 comments on commit b0cf662

Please sign in to comment.