steemit / steem-deployments

steemit specific deployment scripts
1 stars 7 forks source link

TN: Use tinman warden to trigger gatling #9

Closed relativityboy closed 6 years ago

relativityboy commented 6 years ago

As a shell script, I want to utilize warden to trigger gatling when launching a testnet so that I don't have to have so much domain specific knowledge, and so that I don't have to be updated as much.

AC

inertia186 commented 6 years ago

Possible implementation is to replace this:

https://github.com/steemit/steem-deployments/blob/master/dev/testnet/testnetinit.sh#L111-L125

... with something like:

while [[ $all_clear -ne 0 ]]
do
    tinman warden -s http://localhost:8091
    all_clear=$?
    echo Waiting for warden to sound the all-clear.
    sleep 60
done
inertia186 commented 6 years ago

Also see: https://github.com/steemit/tinman/issues/101