Skip to content

Commit

Permalink
fix sometimes running out of disk space when running exFAT tests on CI (
Browse files Browse the repository at this point in the history
  • Loading branch information
ironage authored Sep 9, 2022
1 parent 881662e commit c94527f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/run-tests-on-exfat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ device=$(echo "$hdiutil_out" | head -n1 | cut -f1 | awk '{$1=$1};1')
path=$(echo "$hdiutil_out" | tail -n1 | cut -f3)

UNITTEST_ENABLE_SYNC_TO_DISK=1 "$build_prefix/realm-tests.app/Contents/MacOS/realm-tests" "$path/"
UNITTEST_ENABLE_SYNC_TO_DISK=1 "$build_prefix/realm-sync-tests.app/Contents/MacOS/realm-sync-tests" "$path/"
# one test runner because several sync tests make large uploads which if run together may exceed our 400MB space limit
UNITTEST_THREADS=1 UNITTEST_ENABLE_SYNC_TO_DISK=1 "$build_prefix/realm-sync-tests.app/Contents/MacOS/realm-sync-tests" "$path/"
echo "finished running tests"

0 comments on commit c94527f

Please sign in to comment.