From a9b09344c80d8628f95f859d4e2d455d61f9e7c6 Mon Sep 17 00:00:00 2001 From: ludamad Date: Fri, 8 Sep 2023 13:44:50 -0400 Subject: [PATCH] fix: work around intermittent wasm webkit issue (#2140) Works around https://github.com/AztecProtocol/aztec-packages/issues/2104 --- .../cpp/barretenberg/acir_tests/run_acir_tests_browser.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/circuits/cpp/barretenberg/acir_tests/run_acir_tests_browser.sh b/circuits/cpp/barretenberg/acir_tests/run_acir_tests_browser.sh index dcb399cf973..da81b9e1f69 100755 --- a/circuits/cpp/barretenberg/acir_tests/run_acir_tests_browser.sh +++ b/circuits/cpp/barretenberg/acir_tests/run_acir_tests_browser.sh @@ -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} @@ -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 \ No newline at end of file +lsof -i ":8080" | awk 'NR>1 {print $2}' | xargs kill -9