Skip to content

Commit

Permalink
Migrate changes from go PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Oct 5, 2022
1 parent 3bfd0eb commit 4690606
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/test/unit.tags
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
@unit.abijson
@unit.abijson.byname
@unit.algod
@unit.algod.blockhash
@unit.algod.ledger_refactoring
@unit.applications
@unit.atomic_transaction_composer
@unit.blocksummary
@unit.dryrun
@unit.dryrun.trace.application
@unit.feetest
@unit.indexer
@unit.indexer.blocks
@unit.indexer.ledger_refactoring
@unit.indexer.logs
@unit.indexer.rekey
Expand All @@ -21,8 +20,7 @@
@unit.responses.messagepack
@unit.responses.messagepack.231
@unit.responses.unlimited_assets
@unit.responses.blockhash
@unit.responses.block.headeronly
@unit.responses.blocksummary
@unit.sourcemap
@unit.stateproof.paths
@unit.stateproof.responses
Expand Down
8 changes: 4 additions & 4 deletions test-harness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ set -euo pipefail
# Variables:
# SDK_TESTING_URL - URL to algorand-sdk-testing, useful for forks.
# SDK_TESTING_BRANCH - branch to checkout, useful for new tests.
# SDK_TESTING_HARNESS - in case you want to change the clone directory?
# SDK_TESTING_HARNESS - local directory that the algorand-sdk-testing repo is cloned into.
# VERBOSE_HARNESS - more output while the script runs.
# INSTALL_ONLY - installs feature files only, useful for unit tests.
#
# WARNING: If set to 1, new features will be LOST when downloading the test harness.
# REGARDLESS: modified features are ALWAYS overwritten.
# REMOVE_LOCAL_FEATURES - cleanup cucumber feature files?
# REMOVE_LOCAL_FEATURES - delete all local cucumber feature files before downloading these from github.
#
# WARNING: Be careful when turning on the next variable.
# In that case you'll need to provide all variables expected by `algorand-sdk-testing`'s `.env`
Expand Down Expand Up @@ -65,15 +65,15 @@ if [ -d "$SDK_TESTING_HARNESS" ]; then
popd
rm -rf "$SDK_TESTING_HARNESS"
if [[ $SHUTDOWN == 1 ]]; then
echo "network shutdown complete."
echo "$THIS: network shutdown complete."
exit 0
fi
else
echo "$THIS: directory $SDK_TESTING_HARNESS does not exist - NOOP"
fi

if [[ $SHUTDOWN == 1 ]]; then
echo "unable to shutdown network."
echo "$THIS: unable to shutdown network."
exit 1
fi

Expand Down

0 comments on commit 4690606

Please sign in to comment.