Temporarily disable iOS UI Test (#3643)

This commit is contained in:
Bart Louwers
2025-07-23 23:03:24 +02:00
committed by GitHub
parent a015b6bf12
commit 8428756cbe

View File

@@ -100,26 +100,27 @@ jobs:
#- name: Running iOS UI tests (Thread Sanitizer)
# run: bazel test //platform/ios/iosapp-UITests:uitest --test_output=errors --//:renderer=metal --features=tsan
- name: Running iOS UI tests (Address+UB Sanitizer)
run: |
retry_count=0
max_retries=5
while [ $retry_count -le $max_retries ]; do
bazel test //platform/ios/iosapp-UITests:uitest \
--test_output=errors \
--//:renderer=metal \
--features=include_clang_rt \
--copt=-fsanitize=undefined \
--linkopt=-fsanitize=undefined \
--copt=-fsanitize-recover=null \
--linkopt=-fsanitize-recover=null && break
retry_count=$((retry_count+1))
if [ $retry_count -eq $max_retries ]; then
echo "::error::Failed to run iOS UI tests after $max_retries attempts"
exit 1
fi
echo "Attempt $retry_count failed. Retrying..."
done
# https://github.com/maplibre/maplibre-native/issues/3642
# - name: Running iOS UI tests (Address+UB Sanitizer)
# run: |
# retry_count=0
# max_retries=5
# while [ $retry_count -le $max_retries ]; do
# bazel test //platform/ios/iosapp-UITests:uitest \
# --test_output=errors \
# --//:renderer=metal \
# --features=include_clang_rt \
# --copt=-fsanitize=undefined \
# --linkopt=-fsanitize=undefined \
# --copt=-fsanitize-recover=null \
# --linkopt=-fsanitize-recover=null && break
# retry_count=$((retry_count+1))
# if [ $retry_count -eq $max_retries ]; then
# echo "::error::Failed to run iOS UI tests after $max_retries attempts"
# exit 1
# fi
# echo "Attempt $retry_count failed. Retrying..."
# done
# render test