switched all python2.7 to python3.x

This commit is contained in:
Drew Taylor
2021-09-15 20:58:38 -07:00
committed by Trent Nelson
parent 1b58166e9d
commit cf4358715b
3 changed files with 4 additions and 4 deletions

View File

@ -163,7 +163,7 @@ function collect_performance_statistics {
curl -G "${INFLUX_HOST}/query?u=ro&p=topsecret" \
--data-urlencode "db=${TESTNET_TAG}" \
--data-urlencode "q=$q_mean_tps;$q_max_tps;$q_mean_confirmation;$q_max_confirmation;$q_99th_confirmation;$q_max_tower_distance_observed;$q_last_tower_distance_observed" |
python "${REPO_ROOT}"/system-test/testnet-automation-json-parser.py >>"$RESULT_FILE"
python3 "${REPO_ROOT}"/system-test/testnet-automation-json-parser.py >>"$RESULT_FILE"
declare q_dropped_vote_hash_count='
SELECT sum("count") as "sum_dropped_vote_hash"
@ -175,7 +175,7 @@ function collect_performance_statistics {
curl -G "${INFLUX_HOST}/query?u=ro&p=topsecret" \
--data-urlencode "db=${TESTNET_TAG}" \
--data-urlencode "q=$q_dropped_vote_hash_count" |
python "${REPO_ROOT}"/system-test/testnet-automation-json-parser-missing.py)
python3 "${REPO_ROOT}"/system-test/testnet-automation-json-parser-missing.py)
}
function upload_results_to_slack() {