Skip to content

Commit

Permalink
fix: work around intermittent wasm webkit issue (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad authored and AztecBot committed Sep 8, 2023
1 parent cb6d552 commit 17ff739
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions acir_tests/run_acir_tests_browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ cleanup() {
trap cleanup SIGINT SIGTERM

# Skipping firefox because this headless firefox is so slow.
export BROWSER=${BROWSER:-chrome,webkit}
# Skipping webkit as well due to intermittent errors, see https://github.com/AztecProtocol/aztec-packages/issues/2104
#export BROWSER=${BROWSER:-chrome,webkit}
export BROWSER=${BROWSER:-chrome}

# Can be "mt" or "st".
THREAD_MODEL=${THREAD_MODEL:-mt}
Expand All @@ -19,4 +21,4 @@ echo "Testing thread model: $THREAD_MODEL"
(cd browser-test-app && yarn serve:dest:$THREAD_MODEL) > /dev/null 2>&1 &
sleep 1
VERBOSE=1 BIN=./headless-test/bb.js.browser ./run_acir_tests.sh $@
lsof -i ":8080" | awk 'NR>1 {print $2}' | xargs kill -9
lsof -i ":8080" | awk 'NR>1 {print $2}' | xargs kill -9

0 comments on commit 17ff739

Please sign in to comment.