Skip to content

Commit

Permalink
Retry apt-get install for memory-leaks config
Browse files Browse the repository at this point in the history
This configuration is frequently failing due to HTTP 503 error
when installing valgrind. Retry the installation one time
after a short break to see if this would make the configuration
less flaky.
  • Loading branch information
p committed Sep 25, 2024
1 parent 2209a7c commit 55f030d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-memory-leaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler: latest
cache-version: v1 # bump this to invalidate cache
- run: sudo apt update && sudo apt install -y valgrind && valgrind --version
- run: sudo apt-get update && (sudo apt-get install -y valgrind || sleep 5 && sudo apt-get install -y valgrind) && valgrind --version
- run: bundle exec rake compile spec:profiling:memcheck
test-asan:
# Temporarily disabled on 2024-09-17 until ruby-asan builds are available again on
Expand Down

0 comments on commit 55f030d

Please sign in to comment.