Automated test framework can run scripts on launched clusters. Add offline stake operations test case and script. (#8510)

automerge
This commit is contained in:
Dan Albert
2020-03-18 14:57:19 -07:00
committed by GitHub
parent 21b287ef0b
commit 90c9462dd4
34 changed files with 478 additions and 95 deletions

View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -ex
# shellcheck disable=SC1090
# shellcheck disable=SC1091
source "$(dirname "$0")"/../automation_utils.sh
RESULT_FILE="$1"
# Runs offline stake operations tests against a running cluster launched from the automation framework
bootstrapper_ip_address="$(get_bootstrap_validator_ip_address)"
entrypoint=http://"${bootstrapper_ip_address}":8899
PATH="$REPO_ROOT"/solana-release/bin:$PATH "$REPO_ROOT"/system-test/stake-operations-testcases/offline_stake_operations.sh "$entrypoint"
echo "Offline Stake Operations Test Succeeded" >>"$RESULT_FILE"