Skip to content

Commit

Permalink
chore: add debugging to run_tests (#2212)
Browse files Browse the repository at this point in the history
A few intermittent errors came up and there was uncertainty what line
they were coming from as they were generic http throttles. I don't think
tracing every line in these files hurts.
  • Loading branch information
ludamad authored Sep 11, 2023
1 parent a039fdd commit 1c5e78a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/cpp/scripts/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# 1. The number of ignition transcripts to download.
# 2. The set of gtest binary names to run.
# 3-n. The arguments to pass to the gtest binaries.
set -eu
set -exu

NUM_TRANSCRIPTS=$1
TESTS=$2
Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/ts/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -xe

$(aws ecr get-login --region us-east-2 --no-include-email) 2> /dev/null

Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -exu

# To be called from CI for testing with docker and AWS.
# Can't be called locally unless AWS credentials are set up.
Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/scripts/run_tests_local
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -exu

DIR="$(dirname "$0")"

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/canary/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This script is used to run an e2e test in CI (see config.yml and cond_spot_run_tests).
# It sets a few environment variables used inside the docker-compose.yml, pulls images, and runs docker-compose.
set -eu
set -exu

export TEST=$1
export IMAGE=${2:-canary}
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This script is used to run an e2e test in CI (see config.yml and cond_spot_run_tests).
# It sets a few environment variables used inside the docker-compose.yml, pulls images, and runs docker-compose.
set -eu
set -exu

export TEST=$1
export COMPOSE_FILE=${2:-docker-compose.yml}
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/scripts/run_tests_local
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This script is used to run an e2e test in CI (see config.yml and cond_run_script).
# It sets a few environment variables used inside the docker-compose.yml, pulls images, and runs docker-compose.
set -eu
set -exu

export TEST=$1
export COMPOSE_FILE=${2:-./scripts/docker-compose.yml}
Expand Down

0 comments on commit 1c5e78a

Please sign in to comment.