Skip to content

Commit

Permalink
Change max-transaction-time and wait delay to try to fix timeout er…
Browse files Browse the repository at this point in the history
…rors in tests.
  • Loading branch information
dallasjohnson committed Jan 19, 2020
1 parent ca2e1ef commit 414ea23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/init_blockchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rm -rf /mnt/dev/data
# run it in a background job such that docker run could continue
nodeos -e -p eosio -d /mnt/dev/data \
--config-dir /mnt/dev/config \
--max-transaction-time=5000 \
--max-transaction-time=50 \
--http-validate-host=false \
--plugin eosio::producer_plugin \
--plugin eosio::producer_api_plugin \
Expand All @@ -25,7 +25,7 @@ nodeos -e -p eosio -d /mnt/dev/data \
--access-control-allow-origin=* \
--contracts-console \
--verbose-http-errors &
sleep 1s
sleep 6s
until $(curl --output /dev/null \
--silent \
--head \
Expand Down

0 comments on commit 414ea23

Please sign in to comment.