-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E2E Attestations test + various e2e improvements (#1417)
- Loading branch information
1 parent
3805194
commit 21f8cdc
Showing
8 changed files
with
162 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
# This test starts a standalone Geth node and runs transactions on it. | ||
|
||
# For testing a particular branch of Geth repo (usually, on Circle CI) | ||
# Usage: ci_test_attestations.sh checkout <branch_of_geth_repo_to_test> | ||
# For testing the local Geth dir (usually, for manual testing) | ||
# Usage: ci_test_attestations.sh local <location_of_local_geth_dir> | ||
|
||
if [ "${1}" == "checkout" ]; then | ||
# Test master by default. | ||
BRANCH_TO_TEST=${2:-"master"} | ||
echo "Checking out geth at branch ${BRANCH_TO_TEST}..." | ||
../../node_modules/.bin/mocha -r ts-node/register src/e2e-tests/attestations_tests.ts --branch ${BRANCH_TO_TEST} | ||
elif [ "${1}" == "local" ]; then | ||
export GETH_DIR="${2}" | ||
echo "Testing using local geth dir ${GETH_DIR}..." | ||
../../node_modules/.bin/mocha -r ts-node/register src/e2e-tests/attestations_tests.ts --localgeth ${GETH_DIR} | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.